summaryrefslogtreecommitdiff
path: root/multimedia/x264/x264.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-12-18 13:43:39 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-18 13:43:39 -0600
commitf4feb46dfa67ce79f9763327538824076d45f775 (patch)
tree5553dce25c8bdcd663377d34d1d6e843d76b5602 /multimedia/x264/x264.SlackBuild
parent9776029978218a4fa98d59bbeedefc6e6eaf15d9 (diff)
downloadslackbuilds-f4feb46dfa67ce79f9763327538824076d45f775.tar.gz
multimedia/x264: Updated for version 20111105.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/x264/x264.SlackBuild')
-rw-r--r--multimedia/x264/x264.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild
index 94af33e766..f56d8bc594 100644
--- a/multimedia/x264/x264.SlackBuild
+++ b/multimedia/x264/x264.SlackBuild
@@ -6,7 +6,7 @@
# Modified by Heinz Wiesinger <pprkut@liwjatan.at>
PRGNAM=x264
-VERSION=20101023
+VERSION=20111105
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,10 +42,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-*-$VERSION-*.tar.bz2
-mv $PRGNAM-*-$VERSION-*/ $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-snapshot-$VERSION-2245-stable
+tar xvf $CWD/$PRGNAM-snapshot-$VERSION-2245-stable.tar.bz2
+cd $PRGNAM-snapshot-$VERSION-2245-stable
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -56,14 +55,12 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-visualize \
--enable-shared \
- --enable-pic
+ --enable-pic \
+ --enable-strip
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
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild