wok-next view speex/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 0a09c3bcc46b |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="speex"
4 VERSION="1.2.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Low bandwith voice codec"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.speex.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/speex.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://downloads.xiph.org/releases/speex/$TARBALL"
15 BUILD_DEPENDS="speexdsp-dev libogg-dev"
16 SPLIT="speex-bin speex-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 \
22 --enable-binaries \
23 $CONFIGURE_ARGS &&
24 make &&
25 make -j1 install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 speex)
31 copy *.so*
32 CAT="multimedia|library"
33 ;;
34 *-bin)
35 copy bin/
36 CAT="multimedia|encoder and decoder"
37 DEPENDS="libogg speex speexdsp"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }