From 0bacec7f37f02db6104ac684f5dea88dbce9cb11 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Fri, 8 Sep 2017 19:25:26 -0700 Subject: gis/proj: Add datumgrid to build. Signed-off-by: Benjamin Trigona-Harany --- gis/proj/proj.SlackBuild | 8 ++++++-- gis/proj/proj.info | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'gis/proj') 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="" -- cgit v1.2.3