wok view portaudio/receipt @ rev 1464

Add: portaudio, portaudio-dev espeak.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Oct 04 10:52:14 2008 +0200 (2008-10-04)
parents
children 3d99ecce2d4b
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=""
9 SOURCE="pa_stable"
10 EXTRAVERSION="_20071207"
11 TARBALL="${SOURCE}_${VERSION}${EXTRAVERSION}.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
45 }