wok view jack1/receipt @ rev 25430
Up os-prober (1.81)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:26:39 2022 +0000 (2022-08-19) |
parents | 125ccb253e50 |
children | 5db546345599 |
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 }