wok view opusfile/receipt @ rev 24154
linux64 : update modules64.list
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 06 12:18:58 2021 +0000 (2021-12-06) |
parents | 56ee356284c6 |
children | 095836df71b7 |
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 current_version()
17 {
18 wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \
19 sed '/opusfile/!d;/tar/!d;s|.*/opusfile-||;s|.tar.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr \
26 $CONFIGURE_ARGS && \
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }