wok view libnjb/receipt @ rev 25642
gummi 0.6.1 (seg fault with 0.6.6), fix xine-ui
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 10 18:30:43 2024 +0100 (10 months ago) |
parents | 65ff25c4de90 |
children |
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://sourceforge.net/projects/libnjb/"
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }