diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2017-09-08 19:25:26 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-09-16 07:14:49 +0700 |
commit | 0bacec7f37f02db6104ac684f5dea88dbce9cb11 (patch) | |
tree | e9ac716a40ce66b94ed8fc08f061a5de8db9c328 /gis/proj | |
parent | 93a0123bc19c3dcbcea65fc92490452ac8181f40 (diff) | |
download | slackbuilds-0bacec7f37f02db6104ac684f5dea88dbce9cb11.tar.gz |
gis/proj: Add datumgrid to build.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/proj')
-rw-r--r-- | gis/proj/proj.SlackBuild | 8 | ||||
-rw-r--r-- | gis/proj/proj.info | 6 |
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="" |