wok-current annotate opus/receipt @ rev 16426

xautomation: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 18 08:00:01 2014 +0000 (2014-04-18)
parents 23c3aed67cd9
children 9f18a592b782
rev   line source
pascal@13359 1 # SliTaz package receipt.
pascal@13359 2
pascal@13359 3 PACKAGE="opus"
devl547@16196 4 VERSION="1.1"
pascal@13359 5 CATEGORY="multimedia"
pascal@13359 6 SHORT_DESC="Totally open, royalty-free, highly versatile audio codec."
pascal@13359 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="BSD"
pascal@13359 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13359 10 WEB_SITE="http://opus-codec.org/"
pascal@13359 11 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
pascal@13359 12
pascal@13359 13 DEPENDS=""
pascal@13359 14 BUILD_DEPENDS=""
pascal@13359 15
pascal@13359 16 # Rules to configure and make the package.
pascal@13359 17 compile_rules()
pascal@13359 18 {
pascal@13359 19 cd $src
pascal@13359 20 ./configure --prefix=/usr \
pascal@13359 21 --enable-float-approx --enable-fuzzing \
pascal@13359 22 $CONFIGURE_ARGS && \
pascal@13359 23 make && make DESTDIR=$DESTDIR install
pascal@13359 24 }
pascal@13359 25
pascal@13359 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13359 27 genpkg_rules()
pascal@13359 28 {
pascal@13359 29 mkdir -p $fs/usr/lib
pascal@13359 30 cp -a $install/usr/lib/*a $fs/usr/lib
pascal@13359 31 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@13359 32 cp -a $install/usr/include $fs/usr
pascal@13359 33 cp -a $install/usr/share $fs/usr
pascal@13359 34 }
pascal@13359 35