wok annotate libnjb/receipt @ rev 20486

perl: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 26 10:09:53 2018 +0200 (2018-10-26)
parents b7319995b37e
children eb7fa8db50fe
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"
pascal@15482 8 LICENSE="BSD"
keupont@2882 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
keupont@2882 10 WEB_SITE="http://libnjb.sourceforge.net/"
keupont@2882 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
keupont@2882 12
pascal@15482 13 DEPENDS="libusb-compat"
pascal@15482 14 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev"
pascal@15482 15
keupont@2882 16 # Rules to configure and make the package.
keupont@2882 17 compile_rules()
keupont@2882 18 {
keupont@2882 19 cd $src
gokhlayeh@11573 20 ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
keupont@2882 21 }
keupont@2882 22
keupont@2882 23 # Rules to gen a SliTaz package suitable for Tazpkg.
keupont@2882 24 genpkg_rules()
keupont@2882 25 {
keupont@2882 26 mkdir -p $fs/usr/lib
pascal@15482 27 cp -a $install/usr/lib/*.so* $fs/usr/lib
keupont@2882 28 }
keupont@2882 29