wok-6.x view njconnect/receipt @ rev 24807

Add fast-lzma2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 22 15:17:43 2022 +0000 (2022-03-22)
parents aad93546c6df
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="njconnect"
4 VERSION="1.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="njconnect - Jack connection manager (ncursesw)."
7 MAINTAINER="xj@wp.pl"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/njconnect/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.tar.xz"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/njconnect/files/ 2>/dev/null | \
18 sed '/scope="row/!d;s|.*/njconnect-||;s|.tar.*||;q'
19 }
21 DEPENDS="jack-audio-connection-kit ncursesw"
22 BUILD_DEPENDS="jack-audio-connection-kit-dev ncursesw ncursesw-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # sed -i 's|curses|& -ltinfo|' Makefile
28 sed -i 's|LDFLAGS =|& -ljack -lncursesw -ltinfo|' \
29 Makefile
31 make DESTDIR=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }