diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-12 17:42:51 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:42:51 +0200 |
commit | d68b77df731eb6b57525657a031a0826660e5b72 (patch) | |
tree | d9d6bb93bc2b32cb9aa79da14f9aa554d0831d2c /multimedia/x264/x264.SlackBuild | |
parent | 1caecd0cbcaff933055cb38c78978238077dafb5 (diff) |
multimedia/x264: Updated for version 20090310
Diffstat (limited to 'multimedia/x264/x264.SlackBuild')
-rw-r--r-- | multimedia/x264/x264.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild index bb5d3dfbf6c43..3f876e5bf256c 100644 --- a/multimedia/x264/x264.SlackBuild +++ b/multimedia/x264/x264.SlackBuild @@ -5,10 +5,8 @@ # Written by core (eroc@linuxmail.org) # Modified by Heinz Wiesinger <pprkut@liwjatan.at> -set -e - PRGNAM=x264 -VERSION=20081104 +VERSION=20090310 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -26,11 +24,13 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/$PRGNAM-*-$VERSION-*.tar.bz2 +tar xvf $CWD/$PRGNAM-*-$VERSION-*.tar.bz2 mv $PRGNAM-*-$VERSION-*/ $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . @@ -47,8 +47,12 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +( 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 +) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION |