wok-current annotate libnjb/receipt @ rev 13585
sbxkb: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 12:55:04 2012 +0100 (2012-11-06) |
parents | dfb944d1ec90 |
children | 8d6f480bf664 |
rev | line source |
---|---|
keupont@2882 | 1 # SliTaz package receipt. |
keupont@2882 | 2 |
keupont@2882 | 3 PACKAGE="libnjb" |
keupont@2882 | 4 VERSION="2.2.6" |
keupont@2882 | 5 CATEGORY="system-tools" |
keupont@2882 | 6 SHORT_DESC="C library and API for communicating with the Creative Nomad JukeBox and Dell DJ" |
keupont@2882 | 7 MAINTAINER="keupont@no-log.org" |
gokhlayeh@8871 | 8 DEPENDS="libusb-compat" |
pascal@10531 | 9 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev" |
keupont@2882 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
keupont@2882 | 11 WEB_SITE="http://libnjb.sourceforge.net/" |
keupont@2882 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
keupont@2882 | 13 |
keupont@2882 | 14 # Rules to configure and make the package. |
keupont@2882 | 15 compile_rules() |
keupont@2882 | 16 { |
keupont@2882 | 17 cd $src |
gokhlayeh@11573 | 18 ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install |
keupont@2882 | 19 } |
keupont@2882 | 20 |
keupont@2882 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2882 | 22 genpkg_rules() |
keupont@2882 | 23 { |
keupont@2882 | 24 mkdir -p $fs/usr/lib |
keupont@2882 | 25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
keupont@2882 | 26 } |
keupont@2882 | 27 |