wok-next annotate 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 |
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@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@20604 | 24 fix libtool && |
al@20017 | 25 make && |
al@20017 | 26 make -j1 install |
pascal@1179 | 27 } |
pascal@1179 | 28 |
al@20017 | 29 genpkg_rules() { |
al@19741 | 30 case $PACKAGE in |
al@19741 | 31 speex) |
al@20017 | 32 copy *.so* |
al@20017 | 33 CAT="multimedia|library" |
al@20017 | 34 ;; |
al@20017 | 35 *-bin) |
al@20017 | 36 copy bin/ |
al@20017 | 37 CAT="multimedia|encoder and decoder" |
al@20017 | 38 DEPENDS="libogg speex speexdsp" |
al@19741 | 39 ;; |
al@19741 | 40 *-dev) |
al@19741 | 41 copy @dev |
al@19741 | 42 ;; |
al@19741 | 43 esac |
pascal@1179 | 44 } |