wok view opus/receipt @ rev 21937

Up nnn (2.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 07 18:30:01 2019 +0200 (2019-10-07)
parents 92ce259ad0fe
children 25f8eb393142
line source
1 # SliTaz package receipt.
3 PACKAGE="opus"
4 VERSION="1.3.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Totally open, royalty-free, highly versatile audio codec."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://opus-codec.org/"
11 WGET_URL="https://archive.mozilla.org/pub/$PACKAGE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
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 $fs/usr/bin $install/usr/share/doc
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cp $src/opus_demo $fs/usr/bin
31 cp $src/README $src/COPYING $install/usr/share/doc
32 }