wok-current view dfu-util/receipt @ rev 24225
updated perl-io-socket-ssl (2.068 -> 2.073)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:41:39 2021 +0100 (2021-12-31) |
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 }