wok-current view opus/receipt @ rev 25590
Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 24 14:03:59 2023 +0000 (16 months ago) |
parents | 3abeffdae80b |
children | 5926178cd6fa |
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 - https://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \
20 sed '/opus-[0-9]/!d;/tar/!d;s|.*opus-||;s|.tar.*||' | sort -Vr | sed 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 }