moved into main repo for pisi 2.0

This commit is contained in:
ayhanyalcinsoy
2015-06-19 13:39:05 +03:00
parent 29f1c4ea72
commit 2450ac02c1
15 changed files with 555 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import libtools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
# Use system libtool instead of bundled one
shelltools.unlinkDir("libltdl")
libtools.libtoolize("-c -f --ltdl")
autotools.autoreconf("-fi")
autotools.configure("--sysconfdir=/etc/unixODBC \
--disable-dependency-tracking \
--disable-gui \
--enable-threads \
--enable-drivers \
--enable-driver-conf \
--disable-stats ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
pisitools.dohtml("doc/*")