summaryrefslogtreecommitdiff
path: root/network/wifi-radar/wifi-radar.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2015-03-27 21:17:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-28 02:22:17 +0700
commit9d1404b12ba757490a2a6fabc35ae22a2e6d765d (patch)
tree66696ba36b453aaa482492805be513e67113bb86 /network/wifi-radar/wifi-radar.SlackBuild
parenta56cd08c519def1215c8538b264a9dbf617a7ed8 (diff)
downloadslackbuilds-9d1404b12ba757490a2a6fabc35ae22a2e6d765d.tar.gz
network/wifi-radar: Updated for version 2.0.s10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/wifi-radar/wifi-radar.SlackBuild')
-rw-r--r--network/wifi-radar/wifi-radar.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/network/wifi-radar/wifi-radar.SlackBuild b/network/wifi-radar/wifi-radar.SlackBuild
index 7c3c01641d..c3a9814294 100644
--- a/network/wifi-radar/wifi-radar.SlackBuild
+++ b/network/wifi-radar/wifi-radar.SlackBuild
@@ -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