wok-6.x view opus-tools/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | f0484014527d |
children | 56ee356284c6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opus-tools"
4 VERSION="0.2"
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="https://archive.mozilla.org/pub/opus/$TARBALL"
13 DEPENDS="libogg flac opusfile libopusenc"
14 BUILD_DEPENDS="libogg libogg-dev opus-dev pkg-config flac-dev \
15 opusfile-dev libopusenc-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }