wok-current view opus-tools/receipt @ rev 25198
updated python-jedi (0.16.0 -> 0.17.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 13:40:45 2022 +0100 (2022-07-13) |
parents | 3abeffdae80b |
children | 5926178cd6fa |
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 # 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 '/opus-tools/!d;/tar/!d;s|.*opus-tools-||;s|.tar.*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 CFLAGS="$CFLAGS -lm"
28 ./configure --prefix=/usr \
29 $CONFIGURE_ARGS && \
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }