aboutsummaryrefslogtreecommitdiff
path: root/misc/rlwrap/rlwrap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rlwrap/rlwrap.SlackBuild')
-rw-r--r--misc/rlwrap/rlwrap.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/rlwrap/rlwrap.SlackBuild b/misc/rlwrap/rlwrap.SlackBuild
index c9eb7407fa329..750728d6fd43e 100644
--- a/misc/rlwrap/rlwrap.SlackBuild
+++ b/misc/rlwrap/rlwrap.SlackBuild
@@ -6,15 +6,13 @@
PRGNAM=rlwrap
VERSION=${VERSION:-0.37}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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
@@ -63,12 +61,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make DESTDIR=$PKG install-strip
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BUGS ChangeLog COPYING INSTALL NEWS PLEA README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a [ABCINPRT]* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install