wok-current view opus/receipt @ rev 23005
libassuan: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 02 18:45:06 2020 +0100 (2020-03-02) |
parents | f7a13af08fc7 |
children | 56ee356284c6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opus"
4 VERSION="1.3.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Totally open, royalty-free, highly versatile audio codec."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://opus-codec.org/"
11 WGET_URL="https://archive.mozilla.org/pub/$PACKAGE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr \
26 --enable-float-approx --enable-fuzzing \
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 $fs/usr/bin $install/usr/share/doc
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp $src/opus_demo $fs/usr/bin
37 cp $src/README $src/COPYING $install/usr/share/doc
38 }