diff options
author | slakmagik <slakmagik@gmail.com> | 2011-03-01 08:51:24 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-01 08:51:24 -0600 |
commit | 5663f7752237092d9b9d3afa3ccd48517dd199c0 (patch) | |
tree | 90bcec0a4fe7e701fbcb2d95f00f3600ac0ceedc | |
parent | 68b45fa6671aa240929629e740a731370db459d6 (diff) |
audio/shntool: Miscellaneous script tweaks
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | audio/shntool/shntool.SlackBuild | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/audio/shntool/shntool.SlackBuild b/audio/shntool/shntool.SlackBuild index 7e15e862b75c..f3e309311493 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 |