diff options
-rw-r--r-- | gis/viking/README | 5 | ||||
-rw-r--r-- | gis/viking/viking.SlackBuild | 15 | ||||
-rw-r--r-- | gis/viking/viking.info | 8 |
3 files changed, 22 insertions, 6 deletions
diff --git a/gis/viking/README b/gis/viking/README index 4e4a33961e..0d61f4f767 100644 --- a/gis/viking/README +++ b/gis/viking/README @@ -2,3 +2,8 @@ Viking is a free/open source program to manage GPS data. You can import and plot tracks and waypoints, show Terraserver maps under it, add coordinate lines, make new tracks and waypoints, hide different things, etc. It is written in C with the GTK+ 2. + +The following options can be enabled (by default, they are disabled): + +MAPNIK=yes for rendering with Mapnik (requires mapnik) +GEOCACHES=yes for geocaches acquire 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 diff --git a/gis/viking/viking.info b/gis/viking/viking.info index df99311260..e055a3b742 100644 --- a/gis/viking/viking.info +++ b/gis/viking/viking.info @@ -1,10 +1,10 @@ PRGNAM="viking" -VERSION="1.5.1" +VERSION="1.6" HOMEPAGE="http://sourceforge.net/projects/viking/" -DOWNLOAD="http://downloads.sourceforge.net/viking/viking-1.5.1.tar.bz2" -MD5SUM="61ec920d331a4c24316d17f0954c5349" +DOWNLOAD="http://downloads.sourceforge.net/viking/viking-1.6.tar.bz2" +MD5SUM="ffbebeb67d83d78ba8650f4bf8b6fc4f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gpsd" +REQUIRES="gpsd libgexiv2" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" |