wok-current annotate opus/receipt @ rev 22942

updated icewm again (1.3.8 -> 1.6.4)
author Hans-G?nter Theisgen
date Thu Feb 27 17:34:50 2020 +0100 (2020-02-27)
parents f7a13af08fc7
children 56ee356284c6
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@13359 10 WEB_SITE="http://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@22825 16 current_version()
pascal@22825 17 {
pascal@22825 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@22825 19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@22825 20 }
pascal@22825 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 }