wok-next view dfu-util/receipt @ rev 18119
Up: tazpkg(814), tazpanel(501)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 08 04:37:36 2015 +0300 (2015-06-08) |
parents | |
children | d43bf7aae921 |
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 }