diff options
Diffstat (limited to 'network/iw/iw.SlackBuild')
-rw-r--r-- | network/iw/iw.SlackBuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/network/iw/iw.SlackBuild b/network/iw/iw.SlackBuild index d02a49a7f7..85725fd82c 100644 --- a/network/iw/iw.SlackBuild +++ b/network/iw/iw.SlackBuild @@ -1,13 +1,13 @@ #!/bin/sh # Slackware build script for iw -# Written by nullboy (antiwire@gmail.com) +# Written by fossfun (fossfun@gmail.com) # Some portions, methods and/or ideas obtained from: # http://slackbuilds.org/template.SlackBuild # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=iw -VERSION=${VERSION:-0.9.6} +VERSION=${VERSION:-0.9.14} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,19 +41,18 @@ find . \ -exec chmod 644 {} \; make CFLAGS="$SLKCFLAGS" -make install DESTDIR=$PKG +make install \ + BINDIR=/usr/sbin \ + MANDIR=/usr/man \ + 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 ) -# I've sent a patch upstream to make this unnecessary --rworkman -# http://marc.info/?l=linux-wireless&m=122707106209548&w=2 -mv $PKG/usr/bin $PKG/usr/sbin -mv $PKG/usr/share/man $PKG/usr -rmdir $PKG/usr/share - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |