wok view portaudio/receipt @ rev 2151

Add punjab
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 05 17:06:51 2009 +0000 (2009-02-05)
parents 86a7f24f5e64
children 586729753bf9
line source
1 # SliTaz package receipt.
3 PACKAGE="portaudio"
4 VERSION="v19"
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 EXTRAVERSION="_20071207"
12 TARBALL="${SOURCE}_${VERSION}${EXTRAVERSION}.tar.gz"
13 WEB_SITE="http://www.portaudio.com/"
14 WGET_URL="http://www.portaudio.com/archives/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 src=$PACKAGE
20 cd $src
21 ./configure --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 _pkg=$WOK/$PACKAGE/$PACKAGE/_pkg
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 # Package all pkgs
37 for i in $(cd $WOK; ls -d $PACKAGE-*)
38 do
39 tazwok genpkg $i
40 done
41 }
43 clean_wok()
44 {
45 rm -rf $WOK/$PACKAGE/$PACKAGE
46 }