wok-6.x view aubio/receipt @ rev 17429

luafilesystem: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 17:51:34 2014 +0100 (2014-12-05)
parents 41a0453808ce
children 17e313b5b9c1
line source
1 # SliTaz package receipt.
3 PACKAGE="aubio"
4 VERSION="0.3.2"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A library for audio labelling"
9 WEB_SITE="http://aubio.piem.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/pub/$TARBALL"
12 TAGS="audio label multimedia"
14 DEPENDS="libsamplerate fftw jack-audio-connection-kit flac libogg \
15 libvorbis"
16 BUILD_DEPENDS="libsamplerate-dev jack-audio-connection-kit-dev \
17 fftw-dev libsndfile-dev fftw libsamplerate flac-dev libogg-dev \
18 libvorbis-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
26 make -j1 &&
27 make -j1 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*so* $fs/usr/lib/
36 cp -a $install/usr/share $fs/usr
38 }