wok-current view dfu-util/receipt @ rev 18473
Add tazpkg-test(844): beta release of the tazpkg
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 05 04:01:02 2015 +0300 (2015-10-05) |
parents | |
children | c04016a5bb30 |
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 }