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