diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-12 17:41:35 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:41:35 +0200 |
commit | c7b5f27c3a9cb946ef1a6741561bff2eb7260d42 (patch) | |
tree | 41ff8fd98a70685e8b937002e6909284487977cc | |
parent | 343a6548811653eadc04812bd6931c1c2e568bb1 (diff) |
libraries/libnfnetlink: Updated for version 0.0.41
-rw-r--r-- | libraries/libnfnetlink/libnfnetlink.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/libnfnetlink/libnfnetlink.info | 8 |
2 files changed, 16 insertions, 8 deletions
diff --git a/libraries/libnfnetlink/libnfnetlink.SlackBuild b/libraries/libnfnetlink/libnfnetlink.SlackBuild index 1ee8d8674ab1..a4cd741532a8 100644 --- a/libraries/libnfnetlink/libnfnetlink.SlackBuild +++ b/libraries/libnfnetlink/libnfnetlink.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libnfnetlink -# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA +# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libnfnetlink -VERSION=0.0.39 +VERSION=0.0.41 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,10 +35,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 @@ -60,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-static=no \ --build=$ARCH-slackware-linux @@ -67,8 +71,12 @@ CXXFLAGS="$SLKCFLAGS" \ make 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 + 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 cp -a README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/libnfnetlink/libnfnetlink.info b/libraries/libnfnetlink/libnfnetlink.info index f226843eca96..b0478881cf96 100644 --- a/libraries/libnfnetlink/libnfnetlink.info +++ b/libraries/libnfnetlink/libnfnetlink.info @@ -1,8 +1,8 @@ PRGNAM="libnfnetlink" -VERSION="0.0.39" +VERSION="0.0.41" HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/" -DOWNLOAD="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-0.0.39.tar.bz2" -MD5SUM="348fed8c1edbe5b873ffc7b192140093" +DOWNLOAD="ftp://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-0.0.41.tar.bz2" +MD5SUM="5d844ea1f557bad0364d5b85cd10c796" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="David Somero" +APPROVED="dsomero" |