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/proj.SlackBuild | |
parent | 93a0123bc19c3dcbcea65fc92490452ac8181f40 (diff) |
gis/proj: Add datumgrid to build.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/proj/proj.SlackBuild')
-rw-r--r-- | gis/proj/proj.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gis/proj/proj.SlackBuild b/gis/proj/proj.SlackBuild index eab4bba16ac6e..cc163af4166bd 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 \ |