aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:32 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:32 -0400
commit5352dff29f4789f2d344b34f274f720ae0d30eb1 (patch)
treec5f70003cda2428ab91f2fa1704f07526bcc2318 /libraries
parent76798c1d55539f38927f7a50f5a3613aa5427135 (diff)
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 756f577f5975..04e7f0932cde 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 \