wok-current annotate jack-audio-connection-kit/receipt @ rev 13411
powertop: fix deps, bdeps & genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 01 10:08:31 2012 +0200 (2012-10-01) |
parents | 02bbaa9d12ba |
children | bc60d0ca59b2 |
rev | line source |
---|---|
allan316@1370 | 1 # SliTaz package receipt. |
allan316@1370 | 2 |
allan316@1370 | 3 PACKAGE="jack-audio-connection-kit" |
slaxemulator@13104 | 4 VERSION="0.121.3" |
allan316@1370 | 5 CATEGORY="multimedia" |
allan316@1370 | 6 SHORT_DESC="low-latency audio server" |
allan316@1370 | 7 MAINTAINER="allan316@gmail.com" |
allan316@1370 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@1370 | 9 WEB_SITE="http://jackaudio.org" |
slaxemulator@9165 | 10 WGET_URL="http://jackaudio.org/downloads/$TARBALL" |
jozee@4941 | 11 TAGS="audio server" |
allan316@1370 | 12 |
slaxemulator@13104 | 13 DEPENDS="alsa-lib ncurses readline libsndfile libogg" |
slaxemulator@13104 | 14 BUILD_DEPENDS="alsa-lib-dev" |
slaxemulator@13104 | 15 |
allan316@1370 | 16 # Rules to configure and make the package. |
allan316@1370 | 17 compile_rules() |
allan316@1370 | 18 { |
allan316@1370 | 19 cd $src |
slaxemulator@13104 | 20 ./configure \ |
slaxemulator@13104 | 21 $CONFIGURE_ARGS && |
pascal@2480 | 22 make && |
slaxemulator@13104 | 23 make DESTDIR=$DESTDIR install |
allan316@1370 | 24 } |
allan316@1370 | 25 |
allan316@1370 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1370 | 27 genpkg_rules() |
allan316@1370 | 28 { |
allan316@1370 | 29 mkdir -p $fs/usr/lib/jack |
slaxemulator@13104 | 30 cp -a $install/usr/bin $fs/usr |
slaxemulator@13104 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@13104 | 32 cp -a $install/usr/lib/jack/*.so* $fs/usr/lib/jack |
allan316@1370 | 33 } |
allan316@1370 | 34 |