wok-next view opus/receipt @ rev 21057

Deal with HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 14:47:30 2018 +0200 (2018-12-03)
parents f48456621a9d
children 7c5d038be95b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="opus"
4 VERSION="1.2.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 WEB_SITE="http://opus-codec.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/opus.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://archive.mozilla.org/pub/opus/$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 opus) copy @std;;
29 *-dev) copy @dev;;
30 esac
31 }