diff options
author | slakmagik <slakmagik@gmail.com> | 2011-03-01 09:41:40 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-01 09:41:40 -0600 |
commit | 36f78ba0a7458f2cbea5dc0492d9e4270b9e0f8c (patch) | |
tree | 1f64f023c04052461a046d0c26fc93487aabcda9 /misc | |
parent | effa2deca691c0dcd94a758787faa0d8bc6a1dd4 (diff) |
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>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/rlwrap/rlwrap.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/rlwrap/rlwrap.SlackBuild b/misc/rlwrap/rlwrap.SlackBuild index c9eb7407fa32..750728d6fd43 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 |