wok-current view opus/receipt @ rev 15047
lxnetdaemon: update compile_rules patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 17:45:05 2013 +0000 (2013-08-12) |
parents | |
children | 23c3aed67cd9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opus"
4 VERSION="1.0.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Totally open, royalty-free, highly versatile audio codec."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://opus-codec.org/"
10 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
12 DEPENDS=""
13 BUILD_DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --enable-float-approx --enable-fuzzing \
21 $CONFIGURE_ARGS && \
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*a $fs/usr/lib
30 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
31 cp -a $install/usr/include $fs/usr
32 cp -a $install/usr/share $fs/usr
33 }