wok view portaudio/receipt @ rev 4721

Up: libboost-* (1.41.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 05 14:59:14 2010 +0100 (2010-01-05)
parents affc97110d37
children c07816c99ed2
line source
1 # SliTaz package receipt.
3 PACKAGE="portaudio"
4 VERSION="v19_20071207"
5 CATEGORY="system-tools"
6 SHORT_DESC="A portable cross-platform audio API"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="alsa-lib"
9 BUILD_DEPENDS="alsa-lib-dev"
10 SOURCE="pa_stable"
11 TARBALL="${SOURCE}_${VERSION}.tar.gz"
12 WEB_SITE="http://www.portaudio.com/"
13 WGET_URL="http://www.portaudio.com/archives/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 src=$PACKAGE
19 cd $src
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 _pkg=$WOK/$PACKAGE/$PACKAGE/_pkg
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 # Package all pkgs
36 for i in $(cd $WOK; ls -d $PACKAGE-*)
37 do
38 tazwok genpkg $i
39 done
40 }
42 clean_wok()
43 {
44 rm -rf $WOK/$PACKAGE/$PACKAGE
45 }