# SliTaz package receipt. PACKAGE="jack-audio-connection-kit" VERSION="1.9.20" CATEGORY="multimedia" TAGS="audio server" SHORT_DESC="Low-latency audio server." MAINTAINER="allan316@gmail.com" LICENSE="GPL LGPL" WEB_SITE="https://jackaudio.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/jackaudio/jack2/archive/v$VERSION.tar.gz" DEPENDS="alsa-lib libogg libsamplerate libsndfile ncurses readline" BUILD_DEPENDS="alsa-lib-dev db-dev libsamplerate-dev python3 util-linux-uuid-dev" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed '/archive\/v[0-9]/!d;/tar/!d;s|.*archive/v||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { ./waf configure \ --prefix=/usr && ./waf build && ./waf install DESTDIR=$DESTDIR # install -Dm644 $src/jack/jslist.h $install/usr/include/jack/jslist.h } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/jack cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/jack/*.so* $fs/usr/lib/jack }