wok-next annotate libnjb/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 8b5b2a6d07b8
children
rev   line source
al@20464 1 # SliTaz package receipt v2.
keupont@2882 2
keupont@2882 3 PACKAGE="libnjb"
al@20969 4 VERSION="2.2.7"
keupont@2882 5 CATEGORY="system-tools"
al@20464 6 SHORT_DESC="Communicating with the Creative Nomad JukeBox and Dell DJ"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15482 8 LICENSE="BSD"
al@20464 9 WEB_SITE="http://libnjb.sourceforge.net/"
al@20464 10
keupont@2882 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
keupont@2882 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
keupont@2882 13
al@20623 14 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev eudev-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@15482 16
al@20464 17 compile_rules() {
al@20969 18 ./configure \
al@20969 19 --disable-static \
al@20969 20 $CONFIGURE_ARGS &&
al@20595 21 fix libtool &&
al@20595 22 make &&
al@20969 23 make install
keupont@2882 24 }
keupont@2882 25
al@20464 26 genpkg_rules() {
al@20464 27 case $PACKAGE in
al@20464 28 libnjb)
al@20464 29 copy @std
al@20969 30 DEPENDS="libusb-compat ncurses"
al@20464 31 ;;
al@20464 32 *-dev)
al@20464 33 copy @dev
al@20969 34 DEPENDS="libnjb libusb-compat-dev"
al@20464 35 ;;
al@20464 36 esac
keupont@2882 37 }