wok annotate jack-audio-connection-kit/receipt @ rev 24491
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 18 22:59:06 2022 +0000 (2022-02-18) |
parents | 432dd31a79d5 |
children | 57462eac4c41 |
rev | line source |
---|---|
allan316@1370 | 1 # SliTaz package receipt. |
allan316@1370 | 2 |
allan316@1370 | 3 PACKAGE="jack-audio-connection-kit" |
Hans-G?nter@21071 | 4 VERSION="0.125.0" |
allan316@1370 | 5 CATEGORY="multimedia" |
Hans-G?nter@21071 | 6 TAGS="audio server" |
Hans-G?nter@21071 | 7 SHORT_DESC="Low-latency audio server." |
allan316@1370 | 8 MAINTAINER="allan316@gmail.com" |
pascal@15022 | 9 LICENSE="GPL LGPL" |
pascal@21885 | 10 WEB_SITE="https://jackaudio.org" |
Hans-G?nter@21071 | 11 |
allan316@1370 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9165 | 13 WGET_URL="http://jackaudio.org/downloads/$TARBALL" |
allan316@1370 | 14 |
pascal@17236 | 15 DEPENDS="alsa-lib ncurses readline libsndfile libogg libsamplerate" |
mojo@19395 | 16 BUILD_DEPENDS="alsa-lib-dev libsamplerate-dev db-dev util-linux-uuid-dev" |
Hans-G?nter@21071 | 17 HOST_ARCH="i486 arm" |
slaxemulator@13104 | 18 |
pascal@24445 | 19 # What is the latest version available today? |
pascal@24445 | 20 current_version() |
pascal@24445 | 21 { |
pascal@24445 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 23 sed '/archive\/v[0-9]/!d;/tar/!d;s|.*archive/v||;s|.tar.*||;q' |
pascal@24445 | 24 } |
pascal@24445 | 25 |
allan316@1370 | 26 # Rules to configure and make the package. |
allan316@1370 | 27 compile_rules() |
allan316@1370 | 28 { |
Hans-G?nter@21071 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21071 | 30 make -j 1 && |
pankso@16581 | 31 make DESTDIR=$DESTDIR install && |
Hans-G?nter@21071 | 32 |
pascal@15022 | 33 install -Dm644 $src/jack/jslist.h $install/usr/include/jack/jslist.h |
allan316@1370 | 34 } |
allan316@1370 | 35 |
allan316@1370 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1370 | 37 genpkg_rules() |
allan316@1370 | 38 { |
allan316@1370 | 39 mkdir -p $fs/usr/lib/jack |
Hans-G?nter@21071 | 40 |
Hans-G?nter@21071 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21071 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21071 | 43 cp -a $install/usr/lib/jack/*.so* $fs/usr/lib/jack |
allan316@1370 | 44 } |