wok-next view opusfile/receipt @ rev 20907

slitaz-base-files: set correct SLITAZ_ARCH in slitaz.conf (affected x86_64) - thanks shann
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 15:39:58 2018 +0300 (2018-08-10)
parents 4a67f7e79846
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="opusfile"
4 VERSION="0.10"
5 CATEGORY="multimedia"
6 SHORT_DESC="Library for opening, seeking, and decoding .opus files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://opus-codec.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://downloads.xiph.org/releases/opus/$TARBALL"
14 BUILD_DEPENDS="openssl-dev libogg-dev opus-dev"
15 SPLIT="opusfile-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 opusfile)
27 copy @std
28 DEPENDS="libogg openssl opus"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="opusfile libogg-dev openssl-dev opus-dev"
33 ;;
34 esac
35 }