wok annotate libnjb/receipt @ rev 25287

updated rsync (3.2.3 -> 3.2.4)
author Hans-G?nter Theisgen
date Mon Jul 18 17:50:55 2022 +0100 (2022-07-18)
parents eb7fa8db50fe
children 7dd01dedad38
rev   line source
keupont@2882 1 # SliTaz package receipt.
keupont@2882 2
keupont@2882 3 PACKAGE="libnjb"
Hans-G?nter@21265 4 VERSION="2.2.7"
keupont@2882 5 CATEGORY="system-tools"
Hans-G?nter@21265 6 SHORT_DESC="C library and API for communicating with the Creative Nomad JukeBox and Dell DJ."
keupont@2882 7 MAINTAINER="keupont@no-log.org"
pascal@15482 8 LICENSE="BSD"
Hans-G?nter@21265 9 WEB_SITE="http://libnjb.sourceforge.net/"
Hans-G?nter@21265 10
keupont@2882 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
keupont@2882 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
keupont@2882 13
pascal@15482 14 DEPENDS="libusb-compat"
pascal@15482 15 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev"
pascal@15482 16
pascal@24411 17 # What is the latest version available today?
pascal@24411 18 current_version()
pascal@24411 19 {
pascal@24411 20 wget -O - https://sourceforge.net/projects/libnjb/files/libnjb/ 2>/dev/null | \
pascal@24411 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24411 22 sed '/scope="row/!d;s|.*/libnjb/||;s|/.*||;q'
pascal@24411 23 }
pascal@24411 24
keupont@2882 25 # Rules to configure and make the package.
keupont@2882 26 compile_rules()
keupont@2882 27 {
Hans-G?nter@21265 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21265 29 make -j 1 &&
Hans-G?nter@21265 30 make DESTDIR=$DESTDIR install
keupont@2882 31 }
keupont@2882 32
keupont@2882 33 # Rules to gen a SliTaz package suitable for Tazpkg.
keupont@2882 34 genpkg_rules()
keupont@2882 35 {
keupont@2882 36 mkdir -p $fs/usr/lib
pascal@15482 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
keupont@2882 38 }