diff options
author | Thales A. Tsailas <ttsailas@enforcingit.com> | 2010-05-13 00:37:57 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:37:57 +0200 |
commit | 8cacc7adde23a605039e52ee8c3bee28ede59913 (patch) | |
tree | fbcaa7cf581ba5ec06bedee463096c4480f56686 /network/pound/pound.SlackBuild | |
parent | 60e6924394b48678cafd1fddc21f69f405b7d4fb (diff) | |
download | slackbuilds-8cacc7adde23a605039e52ee8c3bee28ede59913.tar.gz |
network/pound: Updated for version 2.4.3
Diffstat (limited to 'network/pound/pound.SlackBuild')
-rw-r--r-- | network/pound/pound.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/network/pound/pound.SlackBuild b/network/pound/pound.SlackBuild index 3eb869c8c0..e9768e830d 100644 --- a/network/pound/pound.SlackBuild +++ b/network/pound/pound.SlackBuild @@ -38,10 +38,13 @@ POUNDGROUP=${POUNDGROUP:-nobody} 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 @@ -64,6 +67,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc/pound \ --localstatedir=/var \ --mandir=/usr/man \ @@ -74,8 +78,10 @@ make all 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 ) # Fix up some ownership and permissions @@ -107,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh 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} |