From 36f78ba0a7458f2cbea5dc0492d9e4270b9e0f8c Mon Sep 17 00:00:00 2001 From: slakmagik Date: Tue, 1 Mar 2011 09:41:40 -0600 Subject: 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 --- misc/rlwrap/rlwrap.SlackBuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'misc') 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 -- cgit v1.2.3