wok view opus/receipt @ rev 24382

updated bluefish (2.2.10 -> 2.2.12)
author Hans-G?nter Theisgen
date Sun Feb 06 10:59:31 2022 +0100 (2022-02-06)
parents 68cf96abc146
children 3abeffdae80b
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \
20 sed '/Opus/!d;/tar/!d;s|.*/opus-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 --enable-float-approx --enable-fuzzing \
28 $CONFIGURE_ARGS && \
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/bin $install/usr/share/doc
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp $src/opus_demo $fs/usr/bin
38 cp $src/README $src/COPYING $install/usr/share/doc
39 }