aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:59 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:59 -0400
commit7cf54130e72dce195c237004aa14aec396eceecb (patch)
tree979b79b939b085281f0d9f129d81817892962326
parent62712a638a29908314077f839dd29e0dc22b2249 (diff)
libraries/iaxclient: Fixed for bash4.
-rw-r--r--libraries/iaxclient/iaxclient.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/libraries/iaxclient/iaxclient.SlackBuild b/libraries/iaxclient/iaxclient.SlackBuild
index 4c7fb6c972606..b72cf55b19a42 100644
--- a/libraries/iaxclient/iaxclient.SlackBuild
+++ b/libraries/iaxclient/iaxclient.SlackBuild
@@ -79,17 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION