network/wifi-radar: Updated for version 2.0.s10.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Woodfall 2015-03-27 21:17:54 +07:00 committed by Willy Sudiarto Raharjo
parent a56cd08c51
commit 9d1404b12b
2 changed files with 11 additions and 13 deletions

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wifi-radar
VERSION=${VERSION:-2.0.s08}
VERSION=${VERSION:-2.0.s10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch --verbose -p1 < $CWD/dhcpcd.diff
patch --verbose -p1 < $CWD/kdesu.diff
@ -78,16 +78,14 @@ make install DESTDIR=$PKG/usr sbindir=$PKG/opt/wifi-radar sysconfdir=$PKG/etc ma
rm -r $PKG/etc
install -m 755 -D $CWD/wifi-radar $PKG/usr/bin/wifi-radar
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE.GPL docs/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.GPL docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="wifi-radar"
VERSION="2.0.s08"
HOMEPAGE="http://sourceforge.net/projects/wifi-radar.berlios/"
DOWNLOAD="http://sourceforge.net/projects/wifi-radar.berlios/files/wifi-radar-2.0.s08.tar.bz2"
MD5SUM="cbad24805d5dc6696e38dc1df619c819"
VERSION="2.0.s10"
HOMEPAGE="http://wifi-radar.tuxfamily.org/"
DOWNLOAD="http://wifi-radar.tuxfamily.org/pub/wifi-radar-2.0.s10.tar.bz2"
MD5SUM="f29993d2af69e0c23e6a188f83a77578"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""