wok-6.x annotate opusfile/receipt @ rev 24616
updated gpgme and gpgme-dev (1.13.1 -> 1.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 08:02:36 2022 +0100 (2022-03-07) |
parents | 3abeffdae80b |
children | c4b5fb10fb0e |
rev | line source |
---|---|
pascal@20519 | 1 # SliTaz package receipt. |
pascal@20519 | 2 |
pascal@20519 | 3 PACKAGE="opusfile" |
pascal@20519 | 4 VERSION="0.11" |
pascal@20519 | 5 CATEGORY="multimedia" |
pascal@20519 | 6 SHORT_DESC="Opus streams in the Ogg container I/O" |
pascal@20519 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20519 | 8 LICENSE="GPL2" |
pascal@20519 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23797 | 10 WEB_SITE="https://opus-codec.org/" |
pascal@20519 | 11 WGET_URL="https://downloads.xiph.org/releases/opus/$TARBALL" |
pascal@20519 | 12 |
pascal@20519 | 13 DEPENDS="libssl libogg opus" |
pascal@20519 | 14 BUILD_DEPENDS="openssl-dev libogg libogg-dev opus-dev pkg-config" |
pascal@20519 | 15 |
pascal@24326 | 16 # What is the latest version available today? |
pascal@24066 | 17 current_version() |
pascal@24066 | 18 { |
pascal@24614 | 19 wget -O - https://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ |
pascal@24614 | 20 sed '/opusfile/!d;/tar/!d;s|.*opusfile-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24066 | 21 } |
pascal@24066 | 22 |
pascal@20519 | 23 # Rules to configure and make the package. |
pascal@20519 | 24 compile_rules() |
pascal@20519 | 25 { |
pascal@20519 | 26 ./configure --prefix=/usr \ |
pascal@20519 | 27 $CONFIGURE_ARGS && \ |
pascal@20519 | 28 make && make DESTDIR=$DESTDIR install |
pascal@20519 | 29 } |
pascal@20519 | 30 |
pascal@20519 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20519 | 32 genpkg_rules() |
pascal@20519 | 33 { |
pascal@20519 | 34 mkdir -p $fs/usr/lib |
pascal@20519 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20519 | 36 } |