wok-next view dfu-util/receipt @ rev 18956

Add python-peak-rules package; add it to python-turbogears dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 09 02:21:29 2016 +0200 (2016-03-09)
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 }