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