wok-next view portaudio/receipt @ rev 1648

Up tazpkg (2.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:35:35 2008 +0000 (2008-11-08)
parents 370e6734ab9e
children 86a7f24f5e64
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 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
46 }