summaryrefslogtreecommitdiffstats
path: root/multimedia/x264/x264.SlackBuild
diff options
context:
space:
mode:
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