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