wok annotate aubio/receipt @ rev 16629

Up: slitaz-arm* packages
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 10 14:35:39 2014 +0200 (2014-05-10)
parents 41a0453808ce
children 17e313b5b9c1
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"
pascal@15000 7 LICENSE="GPL2"
jozee@6822 8 SHORT_DESC="A library for audio labelling"
jozee@6822 9 WEB_SITE="http://aubio.piem.org/"
jozee@6822 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@6822 11 WGET_URL="$WEB_SITE/pub/$TARBALL"
jozee@6822 12 TAGS="audio label multimedia"
jozee@6822 13
slaxemulator@10276 14 DEPENDS="libsamplerate fftw jack-audio-connection-kit flac libogg \
slaxemulator@10276 15 libvorbis"
slaxemulator@10276 16 BUILD_DEPENDS="libsamplerate-dev jack-audio-connection-kit-dev \
slaxemulator@10276 17 fftw-dev libsndfile-dev fftw libsamplerate flac-dev libogg-dev \
slaxemulator@10276 18 libvorbis-dev"
slaxemulator@10276 19
jozee@6822 20 # Rules to configure and make the package.
slaxemulator@13105 21 compile_rules()
slaxemulator@13105 22 {
slaxemulator@13105 23 cd $src
pascal@13119 24 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
slaxemulator@13105 25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
slaxemulator@13105 26 make -j1 &&
slaxemulator@13105 27 make -j1 install
jozee@6822 28 }
jozee@6822 29
jozee@6822 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6822 31 genpkg_rules()
jozee@6822 32 {
jozee@6822 33 mkdir -p $fs/usr/lib
pascal@15000 34 cp -a $install/usr/bin $fs/usr
pascal@15000 35 cp -a $install/usr/lib/*so* $fs/usr/lib/
pascal@15000 36 cp -a $install/usr/share $fs/usr
jozee@6822 37
jozee@6822 38 }