summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorey Bump <slackbuilds@joreybump.com>2010-05-13 00:36:07 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:36:07 +0200
commitd1db93ae34ec132497eb5cd62e2c5ee8172071da (patch)
treea5e5f5cef57a053e4ea516a8cb1f5e02add6a38a
parentf6bcb991ded2c26b3b1d2bc2fd7ed5f6c7439eb3 (diff)
downloadslackbuilds-d1db93ae34ec132497eb5cd62e2c5ee8172071da.tar.gz
network/darkstat: Updated for version 3.0.707
-rw-r--r--network/darkstat/darkstat.SlackBuild12
-rw-r--r--network/darkstat/darkstat.info2
2 files changed, 11 insertions, 3 deletions
diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild
index efc6daafa5..2550d15c18 100644
--- a/network/darkstat/darkstat.SlackBuild
+++ b/network/darkstat/darkstat.SlackBuild
@@ -19,10 +19,13 @@ DOCS="AUTHORS COPYING.GPL NEWS README THANKS"
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"
fi
set -e # Exit on most errors
@@ -44,6 +47,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man
@@ -52,8 +56,10 @@ make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -69,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/darkstat/darkstat.info b/network/darkstat/darkstat.info
index 5ec5d24e22..569b977a6b 100644
--- a/network/darkstat/darkstat.info
+++ b/network/darkstat/darkstat.info
@@ -2,7 +2,9 @@ PRGNAM="darkstat"
VERSION="3.0.707"
HOMEPAGE="http://dmr.ath.cx/net/darkstat/"
DOWNLOAD="http://dmr.ath.cx/net/darkstat/darkstat-3.0.707.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="91c70f96498dd679b21330214361e4dc"
+MD5SUM_x86_64=""
MAINTAINER="Jorey Bump"
EMAIL="slackbuilds@joreybump.com"
APPROVED="Michiel"