wok annotate opus/receipt @ rev 24121
updated xfig again (3.2.5b -> 3.2.8b)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Oct 05 17:05:03 2021 +0100 (2021-10-05) |
parents | 5ea0ce1cecc0 |
children | 095836df71b7 |
rev | line source |
---|---|
pascal@13359 | 1 # SliTaz package receipt. |
pascal@13359 | 2 |
pascal@13359 | 3 PACKAGE="opus" |
pascal@21605 | 4 VERSION="1.3.1" |
pascal@13359 | 5 CATEGORY="multimedia" |
pascal@13359 | 6 SHORT_DESC="Totally open, royalty-free, highly versatile audio codec." |
pascal@13359 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
pascal@13359 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23797 | 10 WEB_SITE="https://opus-codec.org/" |
pascal@20518 | 11 WGET_URL="https://archive.mozilla.org/pub/$PACKAGE/$TARBALL" |
pascal@13359 | 12 |
pascal@13359 | 13 DEPENDS="" |
pascal@13359 | 14 BUILD_DEPENDS="" |
pascal@13359 | 15 |
pascal@24066 | 16 current_version() |
pascal@24066 | 17 { |
pascal@24066 | 18 wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ |
pascal@24066 | 19 sed '/Opus/!d;/tar/!d;s|.*/opus-||;s|.tar.*||;q' |
pascal@24066 | 20 } |
pascal@24066 | 21 |
pascal@13359 | 22 # Rules to configure and make the package. |
pascal@13359 | 23 compile_rules() |
pascal@13359 | 24 { |
pascal@13359 | 25 ./configure --prefix=/usr \ |
pascal@13359 | 26 --enable-float-approx --enable-fuzzing \ |
pascal@13359 | 27 $CONFIGURE_ARGS && \ |
pascal@13359 | 28 make && make DESTDIR=$DESTDIR install |
pascal@13359 | 29 } |
pascal@13359 | 30 |
pascal@13359 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13359 | 32 genpkg_rules() |
pascal@13359 | 33 { |
pascal@21772 | 34 mkdir -p $fs/usr/lib $fs/usr/bin $install/usr/share/doc |
pascal@17393 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@21772 | 36 cp $src/opus_demo $fs/usr/bin |
pascal@21772 | 37 cp $src/README $src/COPYING $install/usr/share/doc |
pascal@13359 | 38 } |