wok-current annotate jack-audio-connection-kit/receipt @ rev 25124
updated apache-mod-perl (2.0.8 -> 2.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:23:55 2022 +0100 (2022-06-28) |
parents | af8d823a3077 |
children | 21d80f294788 |
rev | line source |
---|---|
allan316@1370 | 1 # SliTaz package receipt. |
allan316@1370 | 2 |
allan316@1370 | 3 PACKAGE="jack-audio-connection-kit" |
Hans-G?nter@24683 | 4 VERSION="1.9.20" |
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" |
Hans-G?nter@24683 | 13 WGET_URL="https://github.com/jackaudio/jack2/archive/v$VERSION.tar.gz" |
allan316@1370 | 14 |
Hans-G?nter@24683 | 15 DEPENDS="alsa-lib gcc83-lib-base libogg libsamplerate libsndfile ncurses readline" |
Hans-G?nter@24683 | 16 BUILD_DEPENDS="alsa-lib-dev db-dev gcc83 libsamplerate-dev py3k util-linux-uuid-dev" |
Hans-G?nter@24683 | 17 |
Hans-G?nter@21071 | 18 HOST_ARCH="i486 arm" |
slaxemulator@13104 | 19 |
pascal@24445 | 20 # What is the latest version available today? |
pascal@24445 | 21 current_version() |
pascal@24445 | 22 { |
pascal@24445 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 24 sed '/archive\/v[0-9]/!d;/tar/!d;s|.*archive/v||;s|.tar.*||;q' |
pascal@24445 | 25 } |
pascal@24445 | 26 |
allan316@1370 | 27 # Rules to configure and make the package. |
allan316@1370 | 28 compile_rules() |
allan316@1370 | 29 { |
Hans-G?nter@24683 | 30 ./waf configure \ |
Hans-G?nter@24683 | 31 CC=gcc-83 \ |
Hans-G?nter@24683 | 32 CXX=g++-83 \ |
Hans-G?nter@24683 | 33 --prefix=/usr && |
Hans-G?nter@24683 | 34 ./waf build && |
Hans-G?nter@24683 | 35 ./waf install DESTDIR=$DESTDIR |
Hans-G?nter@21071 | 36 |
Hans-G?nter@24683 | 37 # install -Dm644 $src/jack/jslist.h $install/usr/include/jack/jslist.h |
allan316@1370 | 38 } |
allan316@1370 | 39 |
allan316@1370 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1370 | 41 genpkg_rules() |
allan316@1370 | 42 { |
allan316@1370 | 43 mkdir -p $fs/usr/lib/jack |
Hans-G?nter@21071 | 44 |
Hans-G?nter@21071 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21071 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21071 | 47 cp -a $install/usr/lib/jack/*.so* $fs/usr/lib/jack |
allan316@1370 | 48 } |