wok-next annotate portaudio/receipt @ rev 20456

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 03:33:54 2018 +0200 (2018-03-02)
parents fb478984fbc8
children 10df65db91ad
rev   line source
al@20456 1 # SliTaz package receipt v2.
erjo@1464 2
erjo@1464 3 PACKAGE="portaudio"
slaxemulator@12338 4 VERSION="v19_20110326"
erjo@1464 5 CATEGORY="system-tools"
erjo@1464 6 SHORT_DESC="A portable cross-platform audio API"
erjo@1464 7 MAINTAINER="erjo@slitaz.org"
pascal@15375 8 LICENSE="CC-SA"
erjo@1464 9 WEB_SITE="http://www.portaudio.com/"
al@20456 10
al@20456 11 TARBALL="pa_stable_$VERSION.tgz"
erjo@1464 12 WGET_URL="http://www.portaudio.com/archives/$TARBALL"
erjo@1464 13
al@19829 14 BUILD_DEPENDS="alsa-lib-dev jack-dev"
al@20456 15 SPLIT="portaudio-dev"
pascal@15375 16
al@20456 17 compile_rules() {
al@20456 18 ./configure \
al@20456 19 --prefix=/usr \
erjo@1464 20 --infodir=/usr/share/info \
al@20456 21 --mandir=/usr/share/man \
al@20456 22 $CONFIGURE_ARGS &&
erjo@1464 23 make &&
pascal@15375 24 make DESTDIR=$DESTDIR install
erjo@1464 25 }
erjo@1464 26
al@20456 27 genpkg_rules() {
al@20456 28 case $PACKAGE in
al@20456 29 portaudio)
al@20456 30 copy @std
al@20456 31 DEPENDS="alsa-lib jack"
al@20456 32 ;;
al@20456 33 *-dev)
al@20456 34 copy @dev
al@20456 35 ;;
al@20456 36 esac
erjo@1464 37 }