aboutsummaryrefslogtreecommitdiff
path: root/desktop/whaw/whaw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/whaw/whaw.SlackBuild')
-rw-r--r--desktop/whaw/whaw.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/whaw/whaw.SlackBuild b/desktop/whaw/whaw.SlackBuild
index dc1c24890ac36..0f5a6190c415a 100644
--- a/desktop/whaw/whaw.SlackBuild
+++ b/desktop/whaw/whaw.SlackBuild
@@ -4,7 +4,7 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=whaw
-VERSION=0.1.2
+VERSION=${VERSION:-0.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,12 +47,13 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --mandir=/usr/man
CFLAGS="$SLKCFLAGS" CPPFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
-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
# Compress the man page