summaryrefslogtreecommitdiffstats
path: root/extra/grass/Pkgfile
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-10 14:44:25 +0100
committerlesibel <lesibel@free.fr>2009-11-10 14:44:25 +0100
commitab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2 (patch)
treeef53fe9f9046af6d0c0ccb4cab8b36b74cb237ee /extra/grass/Pkgfile
parentd066b53fd127b21a7edb339b4b0e3c993932ce95 (diff)
downloadnutyx-pakxe-ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2.tar.gz
nutyx-pakxe-ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2.tar.bz2
nutyx-pakxe-ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2.tar.xz
nutyx-pakxe-ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2.zip
Ajout de grass#6.3.0-1
Diffstat (limited to 'extra/grass/Pkgfile')
-rw-r--r--extra/grass/Pkgfile40
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/grass/Pkgfile b/extra/grass/Pkgfile
new file mode 100644
index 000000000..0264f50af
--- /dev/null
+++ b/extra/grass/Pkgfile
@@ -0,0 +1,40 @@
+# Description: Geographic Information System (GIS) used for geospatial data management and analysis
+# image processing, graphics/maps production, spatial modeling, and visualization"
+#
+# URL:http://grass.itc.it/index.php
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: proj, gdal, fftw, swig, libpng, libtiff, sqlite3, python, tk
+
+name=grass
+version=6.3.0
+release=1
+source=(http://grass.itc.it/grass63/source/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=$PKG/opt --exec-prefix=$PKG/opt \
+ --with-proj \
+ --with-gdal \
+ --with-fftw \
+ --with-dwg \
+ --with-sqlite \
+ --with-python \
+ --with-postgres=no \
+ --with-nls=no
+
+ make
+ mkdir -p $PKG/opt
+ make DESTDIR=$PKG install
+
+ cd $PKG/opt/bin/
+ sed -i "s|$PKG||g" grass63
+ mkdir -p $PKG/usr/lib
+ cd $PKG/usr/lib ; ln -s ../../opt/$name-$version/lib/*.so .
+ rm -rf $PKG/opt/grass-6.3.0/AUTHORS
+ rm -rf $PKG/opt/grass-6.3.0/COPYING
+ rm -rf $PKG/opt/grass-6.3.0/bwidget/README.grass
+ rm -rf $PKG/opt/grass-6.3.0/etc/gem/skeleton/README
+ rm -rf $PKG/opt/grass-6.3.0/etc/wxpython/README
+}
+