diff options
author | Joe Rozner <livinded@deadbytes.net> | 2011-11-09 13:11:59 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-26 09:09:09 -0600 |
commit | 0e71d65bba6b6d531bccdfcf2f758c9e4441d612 (patch) | |
tree | b868ce451f5f0ef4e904327f95e9fb6c3c484ae1 /libraries/libnet/libnet.SlackBuild | |
parent | 883de473de412d29c0b7b84d1a9ca317c9e80b3c (diff) |
libraries/libnet: Updated for version 1.1.5.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/libnet/libnet.SlackBuild')
-rw-r--r-- | libraries/libnet/libnet.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libraries/libnet/libnet.SlackBuild b/libraries/libnet/libnet.SlackBuild index 0dc2bdf28f70d..cb402cfc8f394 100644 --- a/libraries/libnet/libnet.SlackBuild +++ b/libraries/libnet/libnet.SlackBuild @@ -8,16 +8,14 @@ # - remove CVS directories from source tree and miscellaneous script cleanup PRGNAM=libnet -VERSION=${VERSION:-1.1.4} +VERSION=${VERSION:-1.1.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -65,12 +63,12 @@ CFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +make install DESTDIR=$PKG -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp -a \ |