wok-6.x annotate libnjb/receipt @ rev 8765
Fixed spidermonkey-Makefile.patch.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 20 23:09:44 2011 +0000 (2011-02-20) |
parents | |
children | dd4600f04ba4 |
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" |
keupont@2882 | 8 DEPENDS="libusb" |
keupont@2882 | 9 BUILD_DEPENDS="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 |
keupont@2882 | 18 ./configure --enable-hotplugging \ |
keupont@2882 | 19 --prefix=/usr \ |
keupont@2882 | 20 --infodir=/usr/share/info \ |
keupont@2882 | 21 --mandir=/usr/share/man \ |
keupont@2882 | 22 $CONFIGURE_ARGS && |
keupont@2882 | 23 make && |
keupont@2882 | 24 make DESTDIR=$PWD/_pkg install |
keupont@2882 | 25 } |
keupont@2882 | 26 |
keupont@2882 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2882 | 28 genpkg_rules() |
keupont@2882 | 29 { |
keupont@2882 | 30 mkdir -p $fs/usr/lib |
keupont@2882 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
keupont@2882 | 32 } |
keupont@2882 | 33 |