wok-6.x annotate jack1/receipt @ rev 25152

updated proot (5.1.0 -> 5.3.1)
author Hans-G?nter Theisgen
date Thu Jun 30 14:53:40 2022 +0100 (2022-06-30)
parents 125ccb253e50
children
rev   line source
Hans-G?nter@24774 1 # SliTaz package receipt.
Hans-G?nter@24774 2
Hans-G?nter@24774 3 PACKAGE="jack1"
Hans-G?nter@24774 4 VERSION="0.126.0"
Hans-G?nter@24774 5 CATEGORY="multimedia"
Hans-G?nter@24774 6 TAGS="audio server"
Hans-G?nter@24774 7 SHORT_DESC="Low-latency audio server."
Hans-G?nter@24774 8 MAINTAINER="allan316@gmail.com"
Hans-G?nter@24774 9 LICENSE="GPL LGPL"
Hans-G?nter@24774 10 WEB_SITE="https://jackaudio.org"
Hans-G?nter@24774 11
Hans-G?nter@24774 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24774 13 WGET_URL="https://github.com/jackaudio/$PACKAGE/releases/download/$VERSION/$TARBALL"
Hans-G?nter@24774 14
Hans-G?nter@24774 15 PROVIDE="jack-audio-connection-kit"
Hans-G?nter@24776 16 DEPENDS="alsa-lib gcc83-lib-base libogg libsamplerate libsndfile ncurses readline"
pascal@24778 17 BUILD_DEPENDS="alsa-lib-dev automake db-dev gcc83 libsamplerate-dev libtool
Hans-G?nter@24774 18 util-linux-uuid-dev"
Hans-G?nter@24774 19
Hans-G?nter@24774 20 HOST_ARCH="i486 arm"
Hans-G?nter@24774 21
pascal@24788 22 # What is the latest version available today?
pascal@24788 23 current_version()
pascal@24788 24 {
pascal@24794 25 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24794 26 sed '/tags\/[0-9]/!d;/tar/!d;s|.*tags/||;s|.tar.*||;q'
pascal@24788 27 }
pascal@24788 28
Hans-G?nter@24774 29 # Rules to configure and make the package.
Hans-G?nter@24774 30 compile_rules()
Hans-G?nter@24774 31 {
Hans-G?nter@24774 32 ./autogen.sh &&
Hans-G?nter@24774 33 ./configure \
Hans-G?nter@24774 34 CC=gcc-83 \
Hans-G?nter@24774 35 CXX=g++-83 \
Hans-G?nter@24774 36 $CONFIGURE_ARGS &&
Hans-G?nter@24774 37 make &&
Hans-G?nter@24774 38 make install DESTDIR=$DESTDIR &&
Hans-G?nter@24774 39
Hans-G?nter@24774 40 install -Dm644 $src/jack/jslist.h $install/usr/include/jack/jslist.h
Hans-G?nter@24774 41 }
Hans-G?nter@24774 42
Hans-G?nter@24774 43 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24774 44 genpkg_rules()
Hans-G?nter@24774 45 {
Hans-G?nter@24774 46 mkdir -p $fs/usr/lib/jack
Hans-G?nter@24774 47
Hans-G?nter@24774 48 cp -a $install/usr/bin $fs/usr
Hans-G?nter@24774 49 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@24774 50 cp -a $install/usr/lib/jack/*.so* $fs/usr/lib/jack
Hans-G?nter@24774 51 }