wok view njconnect/receipt @ rev 25524

created recipes for tree-sitter and tree-sitter-dev 0.20.7
author Hans-G?nter Theisgen
date Fri Feb 24 17:21:52 2023 +0100 (21 months ago)
parents ad0bc3efbf37
children
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 }