wok-current view portaudio/receipt @ rev 2088
lxpanel: keep lxsession-logout md5sum
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 28 14:08:50 2009 +0100 (2009-01-28) |
parents | 3d99ecce2d4b |
children | affc97110d37 |
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/$PACKAGE
46 }