wok-6.x annotate dfu-util/receipt @ rev 18250

Up tazpanel (516)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 02 20:30:04 2015 +0200 (2015-08-02)
parents
children c04016a5bb30
rev   line source
pascal@17335 1 # SliTaz package receipt.
pascal@17335 2
pascal@17335 3 PACKAGE="dfu-util"
pascal@17335 4 VERSION="0.8"
pascal@17335 5 CATEGORY="utilities"
pascal@17335 6 SHORT_DESC="Device Firmware Upgrade Utilities (for USB devices)."
pascal@17335 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17335 8 LICENSE="GPL2"
pascal@17335 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17335 10 WEB_SITE="http://dfu-util.gnumonks.org/"
pascal@17335 11 WGET_URL="${WEB_SITE}releases/$TARBALL"
pascal@17335 12
pascal@17335 13 BUILD_DEPENDS="pkg-config glib libusb-dev"
pascal@17335 14
pascal@17335 15 # Rules to configure and make the package.
pascal@17335 16 compile_rules()
pascal@17335 17 {
pascal@17335 18 ./configure --prefix=/usr \
pascal@17335 19 $CONFIGURE_ARGS &&
pascal@17335 20 make &&
pascal@17335 21 make DESTDIR=$DESTDIR install
pascal@17335 22 }
pascal@17335 23
pascal@17335 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17335 25 genpkg_rules()
pascal@17335 26 {
pascal@17335 27 mkdir -p $fs/usr
pascal@17335 28 cp -a $install/usr/bin $fs/usr
pascal@17335 29 }