# SliTaz package receipt.

PACKAGE="libnjb"
VERSION="2.2.6"
CATEGORY="system-tools"
SHORT_DESC="C library and API for communicating with the Creative Nomad JukeBox and Dell DJ"
MAINTAINER="keupont@no-log.org"
DEPENDS="libusb-compat"
BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://libnjb.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}