wok view opus-tools/receipt @ rev 16566

slitaz-configs: fix build for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 14:43:27 2014 +0200 (2014-05-01)
parents 7896f0694ef6
children 9689f1b75619
line source
1 # SliTaz package receipt.
3 PACKAGE="opus-tools"
4 VERSION="0.1.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="Opus encoder, decoder and tiny tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://opus-codec.org/"
11 WGET_URL="http://downloads.xiph.org/releases/opus/$TARBALL"
13 DEPENDS="libogg flac"
14 BUILD_DEPENDS="libogg libogg-dev opus pkgconfig flac-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 CFLAGS="$CFLAGS -lm"
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS && \
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }