wok view opusfile/receipt @ rev 25178

Add linux-chrome
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 03 18:25:40 2022 +0000 (2022-07-03)
parents bc2b9d9bed6f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="opusfile"
4 VERSION="0.12"
5 CATEGORY="multimedia"
6 SHORT_DESC="Opus streams in the Ogg container I/O."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://opus-codec.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/xiph/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="libogg libssl opus"
15 BUILD_DEPENDS="automake libogg libogg-dev libtool openssl-dev opus-dev pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \
21 sed '/opusfile/!d;/tar/!d;s|.*opusfile-||;s|.tar.*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }