wok annotate portaudio/receipt @ rev 2516
g*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 22:01:20 2009 +0000 (2009-03-16) |
parents | 86a7f24f5e64 |
children | 586729753bf9 |
rev | line source |
---|---|
erjo@1464 | 1 # SliTaz package receipt. |
erjo@1464 | 2 |
erjo@1464 | 3 PACKAGE="portaudio" |
erjo@1464 | 4 VERSION="v19" |
erjo@1464 | 5 CATEGORY="system-tools" |
erjo@1464 | 6 SHORT_DESC="A portable cross-platform audio API" |
erjo@1464 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2105 | 8 DEPENDS="alsa-lib" |
pascal@1511 | 9 BUILD_DEPENDS="alsa-lib-dev" |
erjo@1464 | 10 SOURCE="pa_stable" |
erjo@1464 | 11 EXTRAVERSION="_20071207" |
erjo@1464 | 12 TARBALL="${SOURCE}_${VERSION}${EXTRAVERSION}.tar.gz" |
erjo@1464 | 13 WEB_SITE="http://www.portaudio.com/" |
erjo@1464 | 14 WGET_URL="http://www.portaudio.com/archives/$TARBALL" |
erjo@1464 | 15 |
erjo@1464 | 16 # Rules to configure and make the package. |
erjo@1464 | 17 compile_rules() |
erjo@1464 | 18 { |
erjo@1464 | 19 src=$PACKAGE |
erjo@1464 | 20 cd $src |
erjo@1464 | 21 ./configure --prefix=/usr \ |
erjo@1464 | 22 --infodir=/usr/share/info \ |
erjo@1464 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS && |
erjo@1464 | 24 make && |
erjo@1464 | 25 make DESTDIR=$PWD/_pkg install |
erjo@1464 | 26 } |
erjo@1464 | 27 |
erjo@1464 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1464 | 29 genpkg_rules() |
erjo@1464 | 30 { |
erjo@1464 | 31 _pkg=$WOK/$PACKAGE/$PACKAGE/_pkg |
erjo@1464 | 32 |
erjo@1464 | 33 mkdir -p $fs/usr/lib |
erjo@1464 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1464 | 35 |
erjo@1464 | 36 # Package all pkgs |
erjo@1464 | 37 for i in $(cd $WOK; ls -d $PACKAGE-*) |
erjo@1464 | 38 do |
erjo@1464 | 39 tazwok genpkg $i |
erjo@1464 | 40 done |
erjo@1464 | 41 } |
erjo@1464 | 42 |
erjo@1464 | 43 clean_wok() |
erjo@1464 | 44 { |
root@1856 | 45 rm -rf $WOK/$PACKAGE/$PACKAGE |
erjo@1464 | 46 } |
erjo@1464 | 47 |