wok-current view aubio/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 31e0c9efd849 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="aubio"
4 VERSION="0.4.9"
5 CATEGORY="multimedia"
6 TAGS="audio label multimedia"
7 SHORT_DESC="A library for audio labelling"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://aubio.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}pub/$TARBALL"
15 DEPENDS="fftw flac jack-audio-connection-kit libogg \
16 libsamplerate libvorbis"
17 BUILD_DEPENDS="fftw fftw-dev flac-dev jack-audio-connection-kit-dev \
18 libogg-dev libsamplerate libsamplerate-dev libsndfile-dev \
19 libvorbis-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
33 # 0.4.9: no longer available
34 # ./configure --prefix=/usr $CONFIGURE_ARGS &&
36 make PREFIX=/usr &&
37 make install DESTDIR=$DESTDIR
39 # 0.4.9: no longer available
40 # cook_pick_manpages $src/doc/*.1
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 # 0.4.9: no longer available
52 # cp -a $install/usr/share/sounds $fs/usr/share
53 }