diff options
author | sibel <lesibel at free dot fr> | 2010-06-24 18:15:27 +0200 |
---|---|---|
committer | sibel <lesibel at free dot fr> | 2010-06-24 18:15:27 +0200 |
commit | 6496758acccfeebb69c05ccdec00d230df8d77f3 (patch) | |
tree | f336e5d74f48d911067f1ccccad5f708430870c4 /test/grass/Pkgfile | |
parent | a0409a01404a1efe5ade4c06384131e7c8a87777 (diff) | |
download | nutyx-extra-6496758acccfeebb69c05ccdec00d230df8d77f3.tar.gz nutyx-extra-6496758acccfeebb69c05ccdec00d230df8d77f3.tar.bz2 nutyx-extra-6496758acccfeebb69c05ccdec00d230df8d77f3.tar.xz nutyx-extra-6496758acccfeebb69c05ccdec00d230df8d77f3.zip |
grass, déplacé dans test
Diffstat (limited to 'test/grass/Pkgfile')
-rw-r--r-- | test/grass/Pkgfile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/grass/Pkgfile b/test/grass/Pkgfile new file mode 100644 index 000000000..99ed4604a --- /dev/null +++ b/test/grass/Pkgfile @@ -0,0 +1,38 @@ +# 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, mesa3d + +name=grass +version=6.4.0RC5 +release=1 +source=(http://grass.osgeo.org/grass64/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" grass64 + mkdir -p $PKG/usr/lib + cd $PKG/usr/lib ; ln -s ../../opt/$name-$version/lib/*.so . + rm -rf $PKG/opt/$version/AUTHORS + rm -rf $PKG/opt/$version/COPYING + rm -rf $PKG/opt/$version/bwidget/README.grass + rm -rf $PKG/opt/$version/etc/gem/skeleton/README + rm -rf $PKG/opt/$version/etc/wxpython/README +} + |