summaryrefslogtreecommitdiff
path: root/libraries/libvidcap/libvidcap.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:13 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:13 -0400
commit4b2de00655575781336c69f479ba8c79700ac825 (patch)
tree51370f91468daba50635ccf2402831c0d37e391f /libraries/libvidcap/libvidcap.SlackBuild
parent0f912642756459153b10215ba22d961341aa585c (diff)
downloadslackbuilds-4b2de00655575781336c69f479ba8c79700ac825.tar.gz
libraries/libvidcap: Fixed for bash4.
Diffstat (limited to 'libraries/libvidcap/libvidcap.SlackBuild')
-rw-r--r--libraries/libvidcap/libvidcap.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/libraries/libvidcap/libvidcap.SlackBuild b/libraries/libvidcap/libvidcap.SlackBuild
index 356166c4dc..cab45f39f2 100644
--- a/libraries/libvidcap/libvidcap.SlackBuild
+++ b/libraries/libvidcap/libvidcap.SlackBuild
@@ -75,17 +75,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