wok-next view speex/receipt @ rev 21174

shaarli: fix tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 14 16:02:11 2019 +0200 (2019-04-14)
parents f48456621a9d
children
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="$PACKAGE-bin $PACKAGE-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 }