wok-6.x annotate opus/receipt @ rev 16067
ARM: xorg-server-light cross compile and add more needed packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 12 20:54:03 2014 +0100 (2014-03-12) |
parents | 5d8c4833404a |
children | 8fc34d2c7fa4 |
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@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 |