diff options
Diffstat (limited to 'system/geoclue2/geoclue2.SlackBuild')
-rw-r--r-- | system/geoclue2/geoclue2.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/system/geoclue2/geoclue2.SlackBuild b/system/geoclue2/geoclue2.SlackBuild index 4ee14f42d9b4c..2f0418bd49f6c 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 |