wok-current annotate opus/receipt @ rev 13818

tazbug-website: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 06 18:21:06 2013 +0100 (2013-01-06)
parents
children 23c3aed67cd9
rev   line source
pascal@13359 1 # SliTaz package receipt.
pascal@13359 2
pascal@13359 3 PACKAGE="opus"
pascal@13359 4 VERSION="1.0.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@13359 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13359 9 WEB_SITE="http://opus-codec.org/"
pascal@13359 10 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
pascal@13359 11
pascal@13359 12 DEPENDS=""
pascal@13359 13 BUILD_DEPENDS=""
pascal@13359 14
pascal@13359 15 # Rules to configure and make the package.
pascal@13359 16 compile_rules()
pascal@13359 17 {
pascal@13359 18 cd $src
pascal@13359 19 ./configure --prefix=/usr \
pascal@13359 20 --enable-float-approx --enable-fuzzing \
pascal@13359 21 $CONFIGURE_ARGS && \
pascal@13359 22 make && make DESTDIR=$DESTDIR install
pascal@13359 23 }
pascal@13359 24
pascal@13359 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13359 26 genpkg_rules()
pascal@13359 27 {
pascal@13359 28 mkdir -p $fs/usr/lib
pascal@13359 29 cp -a $install/usr/lib/*a $fs/usr/lib
pascal@13359 30 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@13359 31 cp -a $install/usr/include $fs/usr
pascal@13359 32 cp -a $install/usr/share $fs/usr
pascal@13359 33 }
pascal@13359 34