libraries/libvpx: Updated for version 0.9.7_p1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
ponce 2011-12-18 19:29:59 -06:00 committed by Robby Workman
parent bff5c3f638
commit 938dc17e74
2 changed files with 14 additions and 10 deletions

View file

@ -8,7 +8,8 @@
# Modified by SlackBuilds.org
PRGNAM=libvpx
VERSION=${VERSION:-0.9.2}
VERSION=${VERSION:-0.9.7_p1}
SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -48,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}-v${VERSION}.tar.bz2
cd $PRGNAM-$VERSION
rm -rf ${PRGNAM}-v${SRCVERSION}
tar xvf $CWD/${PRGNAM}-v${SRCVERSION}.tar.bz2
cd ${PRGNAM}-v${SRCVERSION}
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -71,11 +72,14 @@ cd build-tmp
--enable-postproc \
--enable-vp8 \
--enable-shared \
--enable-runtime-cpu-detect \
$ARCHOPTS
make
make install DESTDIR=$PKG
cd -
cd ..
# remove the static version
rm $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM.a
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,10 +1,10 @@
PRGNAM="libvpx"
VERSION="0.9.2"
VERSION="0.9.7_p1"
HOMEPAGE="http://www.webmproject.org/"
DOWNLOAD="http://webm.googlecode.com/files/libvpx-v0.9.2.tar.bz2"
MD5SUM="609370925b274aeaa29e94fc34c74957"
DOWNLOAD="http://webm.googlecode.com/files/libvpx-v0.9.7-p1.tar.bz2"
MD5SUM="bd888cffde8d9c3061c7fd719b0cd4ce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="ponce"
EMAIL="matteo.bernardini@gmail.com"
APPROVED="dsomero"
APPROVED="rworkman"