diff options
author | alkos333 <me@alkos333.net> | 2010-05-13 00:31:21 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:31:21 +0200 |
commit | b435c0909bbec22ddcb7c0faf3134af8595b8a84 (patch) | |
tree | 501ac744d7ac14fc454aae7993a61d98f804dda3 /libraries | |
parent | bfb89fe5a763205ab614bedaf7f9878de555be78 (diff) | |
download | slackbuilds-b435c0909bbec22ddcb7c0faf3134af8595b8a84.tar.gz |
libraries/libnetfilter_queue: Updated for version 0.0.16
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/libnetfilter_queue/libnetfilter_queue.info | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild b/libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild index 9262a4d747..b36afd95ae 100644 --- a/libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild +++ b/libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild @@ -37,10 +37,13 @@ OUTPUT=${OUTPUT:-/tmp} 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 @@ -61,6 +64,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-static=no \ --build=$ARCH-slackware-linux @@ -69,8 +73,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 ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -81,4 +87,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/libraries/libnetfilter_queue/libnetfilter_queue.info b/libraries/libnetfilter_queue/libnetfilter_queue.info index f308b8bb14..7ed86ba4a3 100644 --- a/libraries/libnetfilter_queue/libnetfilter_queue.info +++ b/libraries/libnetfilter_queue/libnetfilter_queue.info @@ -3,6 +3,8 @@ VERSION="0.0.16" HOMEPAGE="http://www.netfilter.org" DOWNLOAD="http://www.netfilter.org/projects/libnetfilter_queue/files/libnetfilter_queue-0.0.16.tar.bz2" MD5SUM="b36664e6cd39edbfe46b416a86118add" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="alkos333" EMAIL="me@alkos333.net" APPROVED="rworkman" |