diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-04-03 12:11:15 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-05 08:38:20 +0700 |
commit | 0c2f780383a40b02618c618f8539454ecbb24df0 (patch) | |
tree | 6dcdba0e50e83231af2d0f1afdd77f931548f0d8 /gis/viking/viking.SlackBuild | |
parent | da1d693b7d84e82d70008ac7bd1ea3c9faa7eb81 (diff) | |
download | slackbuilds-0c2f780383a40b02618c618f8539454ecbb24df0.tar.gz |
gis/viking: Updated for version 1.6.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'gis/viking/viking.SlackBuild')
-rw-r--r-- | gis/viking/viking.SlackBuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gis/viking/viking.SlackBuild b/gis/viking/viking.SlackBuild index 26ee119d74..f06defd217 100644 --- a/gis/viking/viking.SlackBuild +++ b/gis/viking/viking.SlackBuild @@ -25,7 +25,7 @@ # Maintained by David Spencer <baildon.research@googlemail.com> PRGNAM=viking -VERSION=${VERSION:-1.5.1} +VERSION=${VERSION:-1.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,7 +69,16 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +OPT_MAPNIK='--disable-mapnik' +if [ ${MAPNIK:-no} = "yes" ]; then + OPT_MAPNIK="--enable-mapnik" +fi +OPT_GEOCACHES='--disable-geocaches' +if [ ${GEOCACHES:-no} = "yes" ]; then + OPT_GEOCACHES="--enable-geocaches" +fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -81,6 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --mandir=/usr/man \ --disable-scrollkeeper \ + $OPT_MAPNIK \ + $OPT_GEOCACHES \ --build=$ARCH-slackware-linux make |