diff options
Diffstat (limited to 'network/darkstat/darkstat.SlackBuild')
-rw-r--r-- | network/darkstat/darkstat.SlackBuild | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild index 3b585e000ad2..0bf715c6e385 100644 --- a/network/darkstat/darkstat.SlackBuild +++ b/network/darkstat/darkstat.SlackBuild @@ -5,7 +5,7 @@ # Written by Jorey Bump PRGNAM=darkstat -VERSION=${VERSION:-3.0.707} +VERSION=${VERSION:-3.0.715} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -24,20 +24,16 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS COPYING.GPL NEWS README THANKS" +DOCS="AUTHORS ChangeLog COPYING.GPL NEWS README" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e # Exit on most errors @@ -59,7 +55,6 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man @@ -70,10 +65,8 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION |