summaryrefslogtreecommitdiffstats
path: root/system/geoclue2/geoclue2.SlackBuild
diff options
context:
space:
mode:
author Aaditya Bagga2018-05-17 21:00:43 +0200
committer Willy Sudiarto Raharjo2018-05-17 23:11:02 +0200
commitcd0118a461f66695bcbbbef55cd9620e851a5c68 (patch)
tree8276b2e59fee2bedd5677cdb9f093c18b176d136 /system/geoclue2/geoclue2.SlackBuild
parente39d049acaa7ffe13bd4155bc42fca72e813ef08 (diff)
downloadslackbuilds-cd0118a461f66695bcbbbef55cd9620e851a5c68.tar.gz
system/geoclue2: Updated for version 2.4.10.
Diffstat (limited to 'system/geoclue2/geoclue2.SlackBuild')
-rw-r--r--system/geoclue2/geoclue2.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/geoclue2/geoclue2.SlackBuild b/system/geoclue2/geoclue2.SlackBuild
index 4ee14f42d9..2f0418bd49 100644
--- a/system/geoclue2/geoclue2.SlackBuild
+++ b/system/geoclue2/geoclue2.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for geoclue2
-# Copyright 2017 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2017-2018 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=geoclue2
-VERSION=${VERSION:-2.4.7}
+VERSION=${VERSION:-2.4.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,8 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# to avoid avahi as a dependency add --disable-nmea-source
-# to the configure options
+avahi_opts=''
+[ "${AVAHI:-yes}" != "yes" ] && avahi_opts="--disable-nmea-source"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,6 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ $avahi_opts \
--enable-static=no \
--build=$ARCH-slackware-linux