wok view libnjb/receipt @ rev 25332

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