wok-stable view libnjb/receipt @ rev 8657

Up: libtaz 0.0.6.1; tazwok 0.0.6.2
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 16 05:30:50 2011 +0100 (2011-02-16)
parents
children dd4600f04ba4
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"
9 BUILD_DEPENDS="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 --enable-hotplugging \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }