works for postgis
This commit is contained in:
@@ -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")
|
||||
@@ -0,0 +1,10 @@
|
||||
--- tests/unit/geos_unit.cpp.old 2009-12-02 13:21:54.000000000 +0200
|
||||
+++ tests/unit/geos_unit.cpp 2009-12-02 13:22:12.000000000 +0200
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <tut_reporter.hpp>
|
||||
// geos
|
||||
#include <geos/unload.h>
|
||||
+#include <stdlib.h>
|
||||
// std
|
||||
#include <cstdlib>
|
||||
#include <iomanip>
|
||||
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>geos</Name>
|
||||
<Homepage>http://geos.refractions.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Geometry engine library for Geographic Information Systems</Summary>
|
||||
<Description>GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).</Description>
|
||||
<Archive sha1sum="142be1db41cb7c62afb9f6d3304769a39dd0b5ac" type="tarbz2">http://download.osgeo.org/geos/geos-3.5.0.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>doxygen</Dependency>
|
||||
<Dependency>ruby-devel</Dependency>
|
||||
<Dependency>swig</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="0">geos-gcc43.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>geos</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>ruby</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc/geos</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>geos-devel</Name>
|
||||
<Summary>Development files for geos</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">geos</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>geos-docs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">geos</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/geos/html</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2016-02-24</Date>
|
||||
<Version>3.5.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-04-23</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-31</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-10-08</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-09</Date>
|
||||
<Version>3.3.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>geos</Name>
|
||||
<Summary xml:lang="tr">Coğrafi bilgi sistemleri için geometri motoru sunan bir kütüphane</Summary>
|
||||
<Description xml:lang="tr">GEOS (Açık Kaynak Geometri Motoru) Java Topology Suit (JTS) kütüphanesinin C++ portudur.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>geos-devel</Name>
|
||||
<Summary xml:lang="tr">geos için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>geos-docs</Name>
|
||||
<Summary xml:lang="tr">geos dokümantasyonu</Summary>
|
||||
</Package>
|
||||
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user