wok-6.x view dfu-util/receipt @ rev 18897

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