wok annotate aubio/receipt @ rev 9112
taglib: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 10:44:27 2011 +0100 (2011-03-05) |
parents | c6ae74b43fce |
children | effd73675e7f |
rev | line source |
---|---|
jozee@6822 | 1 # SliTaz package receipt. |
jozee@6822 | 2 |
jozee@6822 | 3 PACKAGE="aubio" |
jozee@6822 | 4 VERSION="0.3.2" |
jozee@6822 | 5 CATEGORY="multimedia" |
jozee@6822 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@6822 | 7 SHORT_DESC="A library for audio labelling" |
jozee@6822 | 8 BUILD_DEPENDS=" libsamplerate-dev jack-audio-connection-kit-dev fftw-dev libsndfile-dev fftw libsamplerate flac-dev libogg-dev libvorbis-dev" |
jozee@6822 | 9 WEB_SITE="http://aubio.piem.org/" |
jozee@6822 | 10 DEPENDS="libsamplerate fftw jack-audio-connection-kit flac libogg libvorbis" |
jozee@6822 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@6822 | 12 WGET_URL="$WEB_SITE/pub/$TARBALL" |
jozee@6822 | 13 TAGS="audio label multimedia" |
jozee@6822 | 14 |
jozee@6822 | 15 # Rules to configure and make the package. |
jozee@6822 | 16 |
jozee@6822 | 17 compile_rules() { |
jozee@6822 | 18 cd $src |
jozee@6822 | 19 ./configure --prefix=/usr && |
pascal@9046 | 20 make -j1 && |
pascal@9046 | 21 make -j1 install |
jozee@6822 | 22 } |
jozee@6822 | 23 |
jozee@6822 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6822 | 25 genpkg_rules() |
jozee@6822 | 26 { |
jozee@6822 | 27 mkdir -p $fs/usr/lib |
jozee@6822 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@6822 | 29 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ |
jozee@6822 | 30 cp -a $_pkg/usr/share $fs/usr |
jozee@6822 | 31 |
jozee@6822 | 32 } |