wok view libnjb/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 65d7d867e0c1
children 65ff25c4de90
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="https://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 }