wok view aubio/receipt @ rev 22512

Up pkg-config (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 01 15:53:13 2020 +0100 (2020-01-01)
parents 7f39549720b8
children 31e0c9efd849
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 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
24 ./configure --prefix=/usr $CONFIGURE_ARGS &&
25 make -j1 &&
26 make -j1 install
28 cook_pick_manpages $src/doc/*.1
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share/sounds $fs/usr/share
38 }