wok view libnjb/receipt @ rev 11257

iron-linux: Cookutils uses wget -O $SRC/$TARBALL so we can change TARBALL to save source as TARBALL. This needs to be done for iron-linux cause other wise it will just find iron-linux.tar.gz and use the old version.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 07 11:21:08 2011 +0000 (2011-11-07)
parents 62cfbad52d51
children b7319995b37e
line source
1 # SliTaz package receipt.
3 PACKAGE="libnjb"
4 VERSION="2.2.6"
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 DEPENDS="libusb-compat"
9 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libnjb.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure && make && make DESTDIR=$DESTDIR install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
26 }