summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author slakmagik2011-03-01 16:41:40 +0100
committer Robby Workman2011-03-01 16:41:40 +0100
commit36f78ba0a7458f2cbea5dc0492d9e4270b9e0f8c (patch)
tree1f64f023c04052461a046d0c26fc93487aabcda9
parenteffa2deca691c0dcd94a758787faa0d8bc6a1dd4 (diff)
downloadslackbuilds-36f78ba0a7458f2cbea5dc0492d9e4270b9e0f8c.tar.gz
misc/rlwrap: misc cleanups and a bugfix
Remove unneeded comments and configure flags. Generalize man page handling which fixes a bug where 'RlwrapFilter.3pm' wasn't getting compressed. Bump BUILD because of this. Revert doc handling line to how it is in all my other scripts. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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 c9eb7407fa..750728d6fd 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