diff options
author | Menno E. Duursma <druiloor@zonnet.nl> | 2010-05-11 22:25:10 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:25:10 +0200 |
commit | d11b5ffd117b05f5f626963dff7a4f276a3af741 (patch) | |
tree | be3aa3fc90c56de5574837a32bb5b899d150e844 | |
parent | 46a8806fdf8cd9d79dc209902e191c8073af3e90 (diff) | |
download | slackbuilds-d11b5ffd117b05f5f626963dff7a4f276a3af741.tar.gz |
network/dnstop: Updated for version 20080502
-rw-r--r-- | network/dnstop/dnstop.SlackBuild | 28 | ||||
-rw-r--r-- | network/dnstop/dnstop.info | 10 |
2 files changed, 20 insertions, 18 deletions
diff --git a/network/dnstop/dnstop.SlackBuild b/network/dnstop/dnstop.SlackBuild index 4172220e2c..810bd970a4 100644 --- a/network/dnstop/dnstop.SlackBuild +++ b/network/dnstop/dnstop.SlackBuild @@ -3,11 +3,8 @@ # Slackware build script for dnstop # Written by Menno Duursma <druiloor@zonnet.nl> -# Exit on most errors -set -e - PRGNAM=dnstop -VERSION=20070510 +VERSION=20080502 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -16,6 +13,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +set -e # Exit on most errors + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -29,16 +34,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Create destdirs -mkdir -p $PKG/usr/bin -mkdir -p $PKG/usr/man/man8 - -# Set the destdir and enable PPP support -mv Makefile Makefile.std -cat Makefile.std \ - | sed -e s#/usr/local#$PKG/usr# \ - -e 's/DUSE_PPP=0/DUSE_PPP=1/' > Makefile +# Create destination directories +mkdir -p $PKG/usr/bin $PKG/usr/man/man8 +CFLAGS="$SLKCFLAGS -DUSE_PPP=1" \ +./configure \ + --bindir=$PKG/usr/bin \ + --mandir=$PKG/usr/man make make install diff --git a/network/dnstop/dnstop.info b/network/dnstop/dnstop.info index acfdafc515..fb4ced3410 100644 --- a/network/dnstop/dnstop.info +++ b/network/dnstop/dnstop.info @@ -1,8 +1,8 @@ PRGNAM="dnstop" -VERSION="20070510" +VERSION="20080502" HOMEPAGE="http://dns.measurement-factory.com/tools/dnstop/" -DOWNLOAD="http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20070510.tar.gz" -MD5SUM="a68f764a10c7ad7bf16a19223df865af" -MAINTAINER="Menno Duursma" +DOWNLOAD="http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20080502.tar.gz" +MD5SUM="67f24e8fe47a6b8387b863d19224f20c" +MAINTAINER="Menno E. Duursma" EMAIL="druiloor@zonnet.nl" -APPROVED="BP{k}" +APPROVED="Erik Hanson"
\ No newline at end of file |