works for postgis

This commit is contained in:
Ertuğrul Erata
2016-02-24 23:12:16 +02:00
parent 4877a13db0
commit 055130ed39
18 changed files with 767 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
#!/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 pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static \
--disable-dependency-tracking \
--enable-python \
--enable-ruby \
--disable-php ")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
autotools.make("check")
shelltools.cd("doc")
autotools.make("doxygen-html")
def install():
autotools.rawInstall("DESTDIR=%(D)s \
PYTHON_PREFIX=%(D)s/usr/lib/%(V)s \
PYTHON_EXEC_PREFIX=%(D)s/usr/lib/%(V)s" % {"D": get.installDIR(),
"V": get.curPYTHON()})
pisitools.insinto("/usr/share/doc/geos", "doc/doxygen_docs/html")
pisitools.dodoc("README", "ChangeLog", "AUTHORS", "NEWS", "COPYING")