wok-next view speex/receipt @ rev 20079
Up emacs (2.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 25 11:21:45 2017 +0200 (2017-10-25) |
parents | 9278a60d6895 |
children | 6d173c4b9591 |
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"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://downloads.xiph.org/releases/speex/$TARBALL"
16 BUILD_DEPENDS="speexdsp-dev libogg-dev"
17 SPLIT="speex-bin speex-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
23 \
24 --enable-binaries \
25 $CONFIGURE_ARGS &&
26 make &&
27 make -j1 install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 speex)
33 copy *.so*
34 CAT="multimedia|library"
35 ;;
36 *-bin)
37 copy bin/
38 CAT="multimedia|encoder and decoder"
39 DEPENDS="libogg speex speexdsp"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }