wok view dfu-util/receipt @ rev 22744
updated e2fsprogs and e2fsprogs-dev (1.44.5 -> 1.45.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 09:12:06 2020 +0100 (2020-01-24) |
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 }