wok-current view opus-tools/receipt @ rev 23948

Add barrage & penguin-command (thanks rerievo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 16:26:50 2020 +0000 (2020-09-20)
parents cef3758eccf6
children 68cf96abc146
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="https://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 }