wok-6.x annotate aubio/receipt @ rev 13674

Up units (2.01)
author Paul Issott <paul@slitaz.org>
date Sun Nov 25 18:24:35 2012 +0000 (2012-11-25)
parents 8e69cb83d354
children 380ffe05937a
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 WEB_SITE="http://aubio.piem.org/"
jozee@6822 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@6822 10 WGET_URL="$WEB_SITE/pub/$TARBALL"
jozee@6822 11 TAGS="audio label multimedia"
jozee@6822 12
slaxemulator@10276 13 DEPENDS="libsamplerate fftw jack-audio-connection-kit flac libogg \
slaxemulator@10276 14 libvorbis"
slaxemulator@10276 15 BUILD_DEPENDS="libsamplerate-dev jack-audio-connection-kit-dev \
slaxemulator@10276 16 fftw-dev libsndfile-dev fftw libsamplerate flac-dev libogg-dev \
slaxemulator@10276 17 libvorbis-dev"
slaxemulator@10276 18
jozee@6822 19 # Rules to configure and make the package.
slaxemulator@13105 20 compile_rules()
slaxemulator@13105 21 {
slaxemulator@13105 22 cd $src
pascal@13119 23 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
slaxemulator@13105 24 ./configure --prefix=/usr $CONFIGURE_ARGS &&
slaxemulator@13105 25 make -j1 &&
slaxemulator@13105 26 make -j1 install
jozee@6822 27 }
jozee@6822 28
jozee@6822 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6822 30 genpkg_rules()
jozee@6822 31 {
jozee@6822 32 mkdir -p $fs/usr/lib
jozee@6822 33 cp -a $_pkg/usr/bin $fs/usr
jozee@6822 34 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
jozee@6822 35 cp -a $_pkg/usr/share $fs/usr
jozee@6822 36
jozee@6822 37 }