diff options
Diffstat (limited to 'system/gpsd/gpsd.SlackBuild')
-rw-r--r-- | system/gpsd/gpsd.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/system/gpsd/gpsd.SlackBuild b/system/gpsd/gpsd.SlackBuild index 12687976c4431..e9c0adc5f614a 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 |