wok-next rev 11326

Add libvpx.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 17 20:44:01 2011 +0000 (2011-11-17)
parents aef77d974511
children 9ac16696775d
files libvpx-dev/receipt libvpx/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libvpx-dev/receipt	Thu Nov 17 20:44:01 2011 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libvpx-dev"
     1.7 +VERSION="0.9.7-p1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for libvpx"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WEB_SITE="http://www.webproject.org/"
    1.12 +DEPENDS="libvpx"
    1.13 +WANTED="libvpx"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $install/usr/include $fs/usr
    1.20 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libvpx/receipt	Thu Nov 17 20:44:01 2011 +0000
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libvpx"
     2.7 +VERSION="0.9.7-p1"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="The VP8 Codec SDK"
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +WEB_SITE="http://www.webmproject.org/"
    2.12 +TARBALL="$PACKAGE-v$VERSION.tar.bz2"
    2.13 +WGET_URL="http://webm.googlecode.com/files/$TARBALL"
    2.14 +
    2.15 +DEPENDS="glibc-base"
    2.16 +BUILD_DEPENDS="yasm coreutils-file-format"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	./configure --enable-vp8 \
    2.22 +		--enable-runtime-cpu-detect \
    2.23 +		--enable-shared \
    2.24 +		--enable-postproc \
    2.25 +		--enable-pic \
    2.26 +		--disable-install-docs \
    2.27 +		--disable-install-srcs && 
    2.28 +	make && make DIST_DIR=$DESTDIR/usr install
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/lib
    2.35 +	cp -a $install/usr/bin $fs/usr
    2.36 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.37 +}