wok annotate njconnect/receipt @ rev 25018

updated openjpeg, openjpeg-dev and openjpeg-tools again (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 07:14:08 2022 +0100 (2022-05-18)
parents aad93546c6df
children ad0bc3efbf37
rev   line source
xj@13869 1 # SliTaz package receipt.
xj@13869 2
xj@13869 3 PACKAGE="njconnect"
Hans-G?nter@23245 4 VERSION="1.6"
xj@13869 5 CATEGORY="multimedia"
Hans-G?nter@23245 6 SHORT_DESC="njconnect - Jack connection manager (ncursesw)."
xj@13869 7 MAINTAINER="xj@wp.pl"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@23245 9 WEB_SITE="https://sourceforge.net/projects/njconnect/"
Hans-G?nter@23245 10
xj@13869 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@23245 12 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.tar.xz"
xj@13869 13
pascal@24402 14 # What is the latest version available today?
pascal@24402 15 current_version()
pascal@24402 16 {
pascal@24402 17 wget -O - https://sourceforge.net/projects/njconnect/files/ 2>/dev/null | \
pascal@24402 18 sed '/scope="row/!d;s|.*/njconnect-||;s|.tar.*||;q'
pascal@24402 19 }
pascal@24402 20
Hans-G?nter@23245 21 DEPENDS="jack-audio-connection-kit ncursesw"
Hans-G?nter@23245 22 BUILD_DEPENDS="jack-audio-connection-kit-dev ncursesw ncursesw-dev"
xj@13869 23
xj@13869 24 # Rules to configure and make the package.
xj@13869 25 compile_rules()
xj@13869 26 {
Hans-G?nter@23245 27 # sed -i 's|curses|& -ltinfo|' Makefile
Hans-G?nter@23245 28 sed -i 's|LDFLAGS =|& -ljack -lncursesw -ltinfo|' \
Hans-G?nter@23245 29 Makefile
Hans-G?nter@23245 30
xj@13869 31 make DESTDIR=$install install
xj@13869 32 }
xj@13869 33
xj@13869 34 # Rules to gen a SliTaz package suitable for Tazpkg.
xj@13869 35 genpkg_rules()
xj@13869 36 {
Hans-G?nter@23245 37 cp -a $install/* $fs
xj@13869 38 }