wok-6.x rev 13359

Add opus
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 12 10:35:23 2012 +0200 (2012-09-12)
parents c8e8372d27d3
children 588fa5ebe017
files opus-dev/receipt opus/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/opus-dev/receipt	Wed Sep 12 10:35:23 2012 +0200
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="opus-dev"
     1.7 +VERSION="1.0.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Totally open, royalty-free, highly versatile audio codec, development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://opus-codec.org/"
    1.13 +
    1.14 +WANTED="opus"
    1.15 +DEPENDS="opus"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/*a $fs/usr/lib
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +	cp -a $install/usr/include $fs/usr
    1.24 +	cp -a $install/usr/share $fs/usr
    1.25 +}
    1.26 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/opus/receipt	Wed Sep 12 10:35:23 2012 +0200
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="opus"
     2.7 +VERSION="1.0.1"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="Totally open, royalty-free, highly versatile audio codec."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://opus-codec.org/"
    2.13 +WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
    2.14 +
    2.15 +DEPENDS=""
    2.16 +BUILD_DEPENDS=""
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	cd $src
    2.22 +	./configure --prefix=/usr \
    2.23 +		--enable-float-approx --enable-fuzzing \
    2.24 +		$CONFIGURE_ARGS && \
    2.25 +	make && make DESTDIR=$DESTDIR install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr/lib
    2.32 +	cp -a $install/usr/lib/*a $fs/usr/lib
    2.33 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.34 +	cp -a $install/usr/include $fs/usr
    2.35 +	cp -a $install/usr/share $fs/usr
    2.36 +}
    2.37 +