wok-next diff opus/receipt @ rev 19903
lynx: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 12 18:00:53 2017 +0200 (2017-10-12) |
parents | 9f18a592b782 |
children | 188b011e073a |
line diff
1.1 --- a/opus/receipt Thu Nov 27 16:05:28 2014 +0100 1.2 +++ b/opus/receipt Thu Oct 12 18:00:53 2017 +0200 1.3 @@ -1,31 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="opus" 1.8 -VERSION="1.1" 1.9 +VERSION="1.2.1" 1.10 CATEGORY="multimedia" 1.11 -SHORT_DESC="Totally open, royalty-free, highly versatile audio codec." 1.12 +SHORT_DESC="Totally open, royalty-free, highly versatile audio codec" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="BSD" 1.15 +WEB_SITE="http://opus-codec.org/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://opus-codec.org/" 1.19 -WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL" 1.20 +#WGET_URL="http://downloads.xiph.org/releases/opus/$TARBALL" 1.21 +WGET_URL="https://archive.mozilla.org/pub/opus/$TARBALL" # from official page, newer 1.22 1.23 -DEPENDS="" 1.24 -BUILD_DEPENDS="" 1.25 +SPLIT="opus-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - ./configure --prefix=/usr \ 1.31 - --enable-float-approx --enable-fuzzing \ 1.32 + ./configure \ 1.33 + --docdir=/usr/share/doc/opus-$VERSION \ 1.34 $CONFIGURE_ARGS && \ 1.35 - make && make DESTDIR=$DESTDIR install 1.36 + make && make install 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr/lib 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 + case $PACKAGE in 1.45 + opus) copy @std;; 1.46 + *-dev) copy @dev;; 1.47 + esac 1.48 } 1.49 -