summaryrefslogtreecommitdiff
path: root/system/gpsd/gpsd.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2011-05-27 20:53:27 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:30:56 -0400
commit0c609c69e52f9753f3cd98501d5abde6c60c64e3 (patch)
treebcd170a35a8f47890335160ab3c7ed017b47408e /system/gpsd/gpsd.SlackBuild
parentb5059d788e5e9c32e01275a71d6b59a814c3f564 (diff)
downloadslackbuilds-0c609c69e52f9753f3cd98501d5abde6c60c64e3.tar.gz
system/gpsd: Updated for version 2.96.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/gpsd/gpsd.SlackBuild')
-rw-r--r--system/gpsd/gpsd.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/system/gpsd/gpsd.SlackBuild b/system/gpsd/gpsd.SlackBuild
index 12687976c4..e9c0adc5f6 100644
--- a/system/gpsd/gpsd.SlackBuild
+++ b/system/gpsd/gpsd.SlackBuild
@@ -1,10 +1,11 @@
#!/bin/sh
+
# Slackware build script for gpsd
# Written by David Spencer <baildon.research@googlemail.com>
# This script is dedicated to the public domain
PRGNAM=gpsd
-VERSION=${VERSION:-2.95}
+VERSION=${VERSION:-2.96}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,7 +57,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+# 2.96 has a tarball pathname snafu
+TARVERSION="${VERSION}bis"
+tar xvf $CWD/$PRGNAM-$TARVERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -81,9 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
-# --no-print-directory prevents crazy gps-2.94-py2.6.egg-info install path
-# (thanks again Niels Horn!)
-make --no-print-directory install-strip DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done