wok annotate aubio/receipt @ rev 24851
updated libxdg-basedir and libxdg-basedir-dev (1.2.0 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:49:19 2022 +0100 (2022-03-26) |
parents | 31e0c9efd849 |
children |
rev | line source |
---|---|
jozee@6822 | 1 # SliTaz package receipt. |
jozee@6822 | 2 |
jozee@6822 | 3 PACKAGE="aubio" |
Hans-G?nter@22518 | 4 VERSION="0.4.9" |
jozee@6822 | 5 CATEGORY="multimedia" |
Hans-G?nter@22518 | 6 TAGS="audio label multimedia" |
Hans-G?nter@22518 | 7 SHORT_DESC="A library for audio labelling" |
jozee@6822 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@22518 | 10 WEB_SITE="https://aubio.org/" |
jozee@6822 | 11 |
Hans-G?nter@22518 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22518 | 13 WGET_URL="${WEB_SITE}pub/$TARBALL" |
Hans-G?nter@22518 | 14 |
Hans-G?nter@22518 | 15 DEPENDS="fftw flac jack-audio-connection-kit libogg \ |
Hans-G?nter@22518 | 16 libsamplerate libvorbis" |
Hans-G?nter@22518 | 17 BUILD_DEPENDS="fftw fftw-dev flac-dev jack-audio-connection-kit-dev \ |
Hans-G?nter@22518 | 18 libogg-dev libsamplerate libsamplerate-dev libsndfile-dev \ |
Hans-G?nter@22518 | 19 libvorbis-dev" |
slaxemulator@10276 | 20 |
pascal@24373 | 21 # What is the latest version available today? |
pascal@24373 | 22 current_version() |
pascal@24373 | 23 { |
pascal@24373 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24373 | 25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24373 | 26 } |
pascal@24373 | 27 |
jozee@6822 | 28 # Rules to configure and make the package. |
slaxemulator@13105 | 29 compile_rules() |
slaxemulator@13105 | 30 { |
pascal@17670 | 31 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" |
al@19269 | 32 |
Hans-G?nter@22518 | 33 # 0.4.9: no longer available |
Hans-G?nter@22518 | 34 # ./configure --prefix=/usr $CONFIGURE_ARGS && |
Hans-G?nter@22518 | 35 |
Hans-G?nter@22518 | 36 make PREFIX=/usr && |
Hans-G?nter@22518 | 37 make install DESTDIR=$DESTDIR |
Hans-G?nter@22518 | 38 |
Hans-G?nter@22518 | 39 # 0.4.9: no longer available |
Hans-G?nter@22518 | 40 # cook_pick_manpages $src/doc/*.1 |
jozee@6822 | 41 } |
al@19269 | 42 |
jozee@6822 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6822 | 44 genpkg_rules() |
jozee@6822 | 45 { |
Hans-G?nter@22518 | 46 mkdir -p $fs/usr/lib |
Hans-G?nter@22518 | 47 |
Hans-G?nter@22518 | 48 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22518 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22518 | 50 |
Hans-G?nter@22518 | 51 # 0.4.9: no longer available |
Hans-G?nter@22518 | 52 # cp -a $install/usr/share/sounds $fs/usr/share |
jozee@6822 | 53 } |