summaryrefslogtreecommitdiffstats
path: root/libraries/liblscp
diff options
context:
space:
mode:
author David Somero2010-05-19 08:37:36 +0200
committer David Somero2010-05-19 08:37:36 +0200
commit23884691a1be388608396b00630842b36a9b1066 (patch)
tree5b4ec08d50c1d74139b5613844f16f6077ef5f65 /libraries/liblscp
parent854a57f247cde1ab927166139b50afeb65bf2582 (diff)
downloadslackbuilds-23884691a1be388608396b00630842b36a9b1066.tar.gz
libraries/liblscp: Fixed for bash4.
Diffstat (limited to 'libraries/liblscp')
-rw-r--r--libraries/liblscp/liblscp.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/libraries/liblscp/liblscp.SlackBuild b/libraries/liblscp/liblscp.SlackBuild
index e64a0297bd..018fe95947 100644
--- a/libraries/liblscp/liblscp.SlackBuild
+++ b/libraries/liblscp/liblscp.SlackBuild
@@ -53,17 +53,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 || true
-)
-
-( 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
cd $TMP/$PRGNAM-$VERSION/