wok-6.x view opus/receipt @ rev 24000

linux-zram: more than 8GB RAM fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 13 21:31:22 2021 +0000 (2021-01-13)
parents 25f8eb393142
children 5ea0ce1cecc0
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="https://opus-codec.org/"
11 WGET_URL="https://archive.mozilla.org/pub/$PACKAGE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr \
26 --enable-float-approx --enable-fuzzing \
27 $CONFIGURE_ARGS && \
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/bin $install/usr/share/doc
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp $src/opus_demo $fs/usr/bin
37 cp $src/README $src/COPYING $install/usr/share/doc
38 }