diff options
author | David Spencer <baildon.research@googlemail.com> | 2010-12-08 11:52:49 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-12 15:47:13 -0600 |
commit | 4fbc554260be4b80ede86518123154d0aff8fdc6 (patch) | |
tree | 5d0c95e668a27f00688a29427e27e9c75262e2ba /system/gpsd/gpsd.SlackBuild | |
parent | bd1ded065457807f20b4b76a125ec5f1b1de5629 (diff) | |
download | slackbuilds-4fbc554260be4b80ede86518123154d0aff8fdc6.tar.gz |
system/gpsd: Updated for version 2.95
Signed-off-by: Niels Horn <niels.horn@slackbuild.org>
Diffstat (limited to 'system/gpsd/gpsd.SlackBuild')
-rw-r--r-- | system/gpsd/gpsd.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/system/gpsd/gpsd.SlackBuild b/system/gpsd/gpsd.SlackBuild index 4ebde3fcb3..12687976c4 100644 --- a/system/gpsd/gpsd.SlackBuild +++ b/system/gpsd/gpsd.SlackBuild @@ -4,7 +4,7 @@ # This script is dedicated to the public domain PRGNAM=gpsd -VERSION=2.94 +VERSION=${VERSION:-2.95} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,14 +39,14 @@ set -e ENABLELIST="" set -- $(echo $ENABLE | sed 's/,/ /g') -while [[ "$1" != "" ]] +while [ "$1" != "" ] do ENABLELIST+=" --enable-$1" shift done DISABLELIST="" set -- $(echo $DISABLE | sed 's/,/ /g') -while [[ "$1" != "" ]] +while [ "$1" != "" ] do DISABLELIST+=" --disable-$1" shift @@ -65,9 +65,6 @@ chmod -R u+w,go+r-w,a-s . # (force "pkg-config --libs libgps[d]" to return -L/usr/lib64 on x86_64) patch -p1 < $CWD/gpsd-pkgconfig_templates.patch -# Fix libusb detection (thanks Niels Horn!) -sed "s|/usr/lib/libusb|/usr/lib$LIBDIRSUFFIX/libusb|" -i configure - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -76,6 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ + --disable-static \ --enable-dbus \ --build=$ARCH-slackware-linux \ $ENABLELIST \ |