wok annotate opusfile/receipt @ rev 25393
updated util-linux packages (2.35.1 -> 2.38)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 16:38:43 2022 +0100 (2022-08-01) |
parents | bc2b9d9bed6f |
children |
rev | line source |
---|---|
pascal@20519 | 1 # SliTaz package receipt. |
pascal@20519 | 2 |
pascal@20519 | 3 PACKAGE="opusfile" |
Hans-G?nter@25078 | 4 VERSION="0.12" |
pascal@20519 | 5 CATEGORY="multimedia" |
Hans-G?nter@25078 | 6 SHORT_DESC="Opus streams in the Ogg container I/O." |
pascal@20519 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@25078 | 8 LICENSE="BSD" |
Hans-G?nter@25078 | 9 WEB_SITE="https://opus-codec.org/" |
Hans-G?nter@25078 | 10 |
pascal@20519 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25078 | 12 WGET_URL="https://github.com/xiph/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@20519 | 13 |
Hans-G?nter@25078 | 14 DEPENDS="libogg libssl opus" |
Hans-G?nter@25078 | 15 BUILD_DEPENDS="automake libogg libogg-dev libtool openssl-dev opus-dev pkg-config" |
pascal@20519 | 16 |
pascal@24326 | 17 # What is the latest version available today? |
pascal@24066 | 18 current_version() |
pascal@24066 | 19 { |
pascal@24614 | 20 wget -O - https://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ |
pascal@24614 | 21 sed '/opusfile/!d;/tar/!d;s|.*opusfile-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24066 | 22 } |
pascal@24066 | 23 |
pascal@20519 | 24 # Rules to configure and make the package. |
pascal@20519 | 25 compile_rules() |
pascal@20519 | 26 { |
Hans-G?nter@25078 | 27 ./autogen.sh && |
Hans-G?nter@25078 | 28 ./configure \ |
Hans-G?nter@25078 | 29 --prefix=/usr \ |
Hans-G?nter@25078 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@25078 | 31 make && |
Hans-G?nter@25078 | 32 make install DESTDIR=$DESTDIR |
pascal@20519 | 33 } |
pascal@20519 | 34 |
pascal@20519 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20519 | 36 genpkg_rules() |
pascal@20519 | 37 { |
Hans-G?nter@25078 | 38 cook_copy_files *.so* |
pascal@20519 | 39 } |