wok view dfu-util/receipt @ rev 22241
updated xorg-rgb (1.0.4 -> 1.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 09:51:47 2019 +0100 (2019-11-12) |
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 }