wok-next view portaudio/receipt @ rev 7448
gecko-mediaplayer: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 30 12:49:24 2010 +0100 (2010-11-30) |
parents | c07816c99ed2 |
children | be13f25e790b |
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 jack-audio-connection-kit"
9 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-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
34 }