wok-next diff dfu-util/receipt @ rev 21268
updated frogatto (1.3.1 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 17:30:20 2019 +0100 (2019-12-06) |
parents | d43bf7aae921 |
children |
line diff
1.1 --- a/dfu-util/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/dfu-util/receipt Fri Dec 06 17:30:20 2019 +0100 1.3 @@ -1,29 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="dfu-util" 1.8 -VERSION="0.8" 1.9 +VERSION="0.9" 1.10 CATEGORY="utilities" 1.11 -SHORT_DESC="Device Firmware Upgrade Utilities (for USB devices)." 1.12 +SHORT_DESC="Device firmware update (DFU) USB programmer" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://dfu-util.sourceforge.net/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://dfu-util.gnumonks.org/" 1.19 -WGET_URL="${WEB_SITE}releases/$TARBALL" 1.20 +WGET_URL="http://dfu-util.sourceforge.net/releases/$TARBALL" 1.21 1.22 BUILD_DEPENDS="glib libusb-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - ./configure --prefix=/usr \ 1.28 - $CONFIGURE_ARGS && 1.29 +compile_rules() { 1.30 + ./configure $CONFIGURE_ARGS && 1.31 make && 1.32 - make DESTDIR=$DESTDIR install 1.33 + make install || return 1 1.34 + 1.35 + cook_pick_docs README DEVICES.txt ChangeLog TODO doc/*.rules 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 - mkdir -p $fs/usr 1.42 - cp -a $install/usr/bin $fs/usr 1.43 +genpkg_rules() { 1.44 + copy @std 1.45 + DEPENDS="libusb" 1.46 }