wok-current view libnjb/receipt @ rev 15860
libmowgli: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 09:02:32 2014 +0000 (2014-01-30) |
parents | b7319995b37e |
children | eb7fa8db50fe |
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://libnjb.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libusb-compat"
14 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 }