summaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
Diffstat (limited to 'gis')
-rw-r--r--gis/proj/proj.SlackBuild8
-rw-r--r--gis/proj/proj.info6
2 files changed, 10 insertions, 4 deletions
diff --git a/gis/proj/proj.SlackBuild b/gis/proj/proj.SlackBuild
index eab4bba16a..cc163af416 100644
--- a/gis/proj/proj.SlackBuild
+++ b/gis/proj/proj.SlackBuild
@@ -23,7 +23,8 @@
PRGNAM=proj
VERSION=${VERSION:-4.9.3}
-BUILD=${BUILD:-1}
+DGVERSION=${DGVERSION:-1.6}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -36,7 +37,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
@@ -89,6 +90,9 @@ make
make install-strip DESTDIR=$PKG
cat src/projects.h > $PKG/usr/include/projects.h
+unzip -d $PKG/usr/share/$PRGNAM $CWD/$PRGNAM-datumgrid-$DGVERSION.zip
+chmod o+rX $PKG/usr/share/$PRGNAM/*
+
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l); do \
diff --git a/gis/proj/proj.info b/gis/proj/proj.info
index 901d22da35..b907db2b46 100644
--- a/gis/proj/proj.info
+++ b/gis/proj/proj.info
@@ -1,8 +1,10 @@
PRGNAM="proj"
VERSION="4.9.3"
HOMEPAGE="http://trac.osgeo.org/proj/"
-DOWNLOAD="http://download.osgeo.org/proj/proj-4.9.3.tar.gz"
-MD5SUM="d598336ca834742735137c5674b214a1"
+DOWNLOAD="http://download.osgeo.org/proj/proj-4.9.3.tar.gz \
+ http://download.osgeo.org/proj/proj-datumgrid-1.6.zip"
+MD5SUM="d598336ca834742735137c5674b214a1 \
+ 4dc75812515cfa744032bbf888c5caee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""