wok-next view speex/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 10df65db91ad |
children | d5aab818505e |
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/svn/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 fix libtool &&
25 make &&
26 make -j1 install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 speex)
32 copy *.so*
33 CAT="multimedia|library"
34 ;;
35 *-bin)
36 copy bin/
37 CAT="multimedia|encoder and decoder"
38 DEPENDS="libogg speex speexdsp"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }