wok-next diff libvpx/receipt @ rev 11564

Add ranger form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:22 2011 +0100 (2011-12-25)
parents
children e6cfdde3ac10
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libvpx/receipt	Sun Dec 25 15:19:22 2011 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libvpx"
     1.7 +VERSION="0.9.7-p1"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="The VP8 Codec SDK"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WEB_SITE="http://www.webmproject.org/"
    1.12 +TARBALL="$PACKAGE-v$VERSION.tar.bz2"
    1.13 +WGET_URL="http://webm.googlecode.com/files/$TARBALL"
    1.14 +
    1.15 +DEPENDS="glibc-base"
    1.16 +BUILD_DEPENDS="yasm coreutils-file-format"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	./configure --enable-vp8 \
    1.22 +		--enable-runtime-cpu-detect \
    1.23 +		--enable-shared \
    1.24 +		--enable-postproc \
    1.25 +		--enable-pic \
    1.26 +		--disable-install-docs \
    1.27 +		--disable-install-srcs && 
    1.28 +	make && make DIST_DIR=$DESTDIR/usr install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/lib
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.37 +}