wok-current view dfu-util/receipt @ rev 22358

Up giflib (5.2.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 20 22:54:57 2019 +0100 (2019-11-20)
parents 7f2789b79625
children 370da83187ab
line source
1 # SliTaz package receipt.
3 PACKAGE="dfu-util"
4 VERSION="0.9"
5 CATEGORY="utilities"
6 SHORT_DESC="Device Firmware Upgrade Utilities (for USB devices)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://dfu-util.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://dfu-util.sourceforge.net/releases/$TARBALL"
14 BUILD_DEPENDS="pkg-config glib libusb-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export CFLAGS="$CFLAGS -I/usr/include/libusb-1.0"
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }