summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author David Somero2010-05-19 08:38:32 +0200
committer David Somero2010-05-19 08:38:32 +0200
commit5352dff29f4789f2d344b34f274f720ae0d30eb1 (patch)
treec5f70003cda2428ab91f2fa1704f07526bcc2318 /libraries
parent76798c1d55539f38927f7a50f5a3613aa5427135 (diff)
downloadslackbuilds-5352dff29f4789f2d344b34f274f720ae0d30eb1.tar.gz
libraries/ortp: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/ortp/ortp.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/libraries/ortp/ortp.SlackBuild b/libraries/ortp/ortp.SlackBuild
index 756f577f59..04e7f0932c 100644
--- a/libraries/ortp/ortp.SlackBuild
+++ b/libraries/ortp/ortp.SlackBuild
@@ -74,17 +74,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
cp -a \