wok-6.x annotate portaudio/receipt @ rev 10820
php: hg addremove
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 06 01:29:55 2011 +0200 (2011-06-06) |
parents | 320dd5f8c70e |
children | 218ae766f650 |
rev | line source |
---|---|
erjo@1464 | 1 # SliTaz package receipt. |
erjo@1464 | 2 |
erjo@1464 | 3 PACKAGE="portaudio" |
pankso@3609 | 4 VERSION="v19_20071207" |
erjo@1464 | 5 CATEGORY="system-tools" |
erjo@1464 | 6 SHORT_DESC="A portable cross-platform audio API" |
erjo@1464 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@6913 | 8 DEPENDS="alsa-lib jack-audio-connection-kit" |
slaxemulator@6913 | 9 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev" |
erjo@1464 | 10 SOURCE="pa_stable" |
pankso@3609 | 11 TARBALL="${SOURCE}_${VERSION}.tar.gz" |
erjo@1464 | 12 WEB_SITE="http://www.portaudio.com/" |
erjo@1464 | 13 WGET_URL="http://www.portaudio.com/archives/$TARBALL" |
erjo@1464 | 14 |
erjo@1464 | 15 # Rules to configure and make the package. |
erjo@1464 | 16 compile_rules() |
erjo@1464 | 17 { |
erjo@1464 | 18 cd $src |
erjo@1464 | 19 ./configure --prefix=/usr \ |
erjo@1464 | 20 --infodir=/usr/share/info \ |
erjo@1464 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
erjo@1464 | 22 make && |
erjo@1464 | 23 make DESTDIR=$PWD/_pkg install |
erjo@1464 | 24 } |
erjo@1464 | 25 |
erjo@1464 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1464 | 27 genpkg_rules() |
erjo@1464 | 28 { |
erjo@1464 | 29 mkdir -p $fs/usr/lib |
erjo@1464 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1464 | 31 } |