From 5663f7752237092d9b9d3afa3ccd48517dd199c0 Mon Sep 17 00:00:00 2001 From: slakmagik Date: Tue, 1 Mar 2011 08:51:24 -0600 Subject: audio/shntool: Miscellaneous script tweaks Signed-off-by: Robby Workman --- audio/shntool/shntool.SlackBuild | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'audio/shntool/shntool.SlackBuild') diff --git a/audio/shntool/shntool.SlackBuild b/audio/shntool/shntool.SlackBuild index 7e15e862b7..f3e3093114 100644 --- a/audio/shntool/shntool.SlackBuild +++ b/audio/shntool/shntool.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-3.0.10} BUILD=${BUILD:-1} 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 @@ -61,12 +59,9 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make DESTDIR=$PKG install +make DESTDIR=$PKG install-strip -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -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 [ACINR]* doc/* $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3-65-gdbad