summaryrefslogtreecommitdiffstats
path: root/extra/geos/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/geos/Pkgfile')
-rw-r--r--extra/geos/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/geos/Pkgfile b/extra/geos/Pkgfile
new file mode 100644
index 000000000..2918793cb
--- /dev/null
+++ b/extra/geos/Pkgfile
@@ -0,0 +1,22 @@
+# Description: A C++ port of the Java Topology Suite
+# URL: http://geos.refractions.net
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on:
+
+name=geos
+version=3.1.1
+release=1
+source=(http://download.osgeo.org/$name/$name-$version.tar.bz2 \
+ gcc4.3.patch )
+
+build() {
+ cd $name-$version
+
+ ./configure --prefix=/usr
+# patch -Np1 < ../gcc4.3.patch
+ make
+ make DESTDIR=$PKG install
+
+ ln -s /usr/lib/libgeos.so $PKG/usr/lib/libgeos.so.2
+}