wok view opus-tools/receipt @ rev 24170
updated otf-gfs
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 07:55:54 2021 +0100 (2021-12-29) |
parents | 56ee356284c6 |
children | 095836df71b7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opus-tools"
4 VERSION="0.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Opus encoder, decoder and tiny tools."
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://archive.mozilla.org/pub/opus/$TARBALL"
13 DEPENDS="libogg flac opusfile libopusenc"
14 BUILD_DEPENDS="libogg libogg-dev opus-dev pkg-config flac-dev \
15 opusfile-dev libopusenc-dev"
17 current_version()
18 {
19 wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \
20 sed '/opus-tools/!d;/tar/!d;s|.*/opus-tools-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 CFLAGS="$CFLAGS -lm"
27 ./configure --prefix=/usr \
28 $CONFIGURE_ARGS && \
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }