wok rev 24475

updated dfu-util (0.9 -> 0.11)
author Hans-G?nter Theisgen
date Thu Feb 17 17:41:58 2022 +0100 (2022-02-17)
parents 0b2572ccafa5
children 89c8d8b6cf48
files dfu-util/receipt
line diff
     1.1 --- a/dfu-util/receipt	Thu Feb 17 17:07:56 2022 +0100
     1.2 +++ b/dfu-util/receipt	Thu Feb 17 17:41:58 2022 +0100
     1.3 @@ -1,16 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dfu-util"
     1.7 -VERSION="0.9"
     1.8 +VERSION="0.11"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Device Firmware Upgrade Utilities (for USB devices)."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://dfu-util.sourceforge.net/"
    1.14 +WEB_SITE="https://sourceforge.net/projects/dfu-util/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="http://dfu-util.sourceforge.net/releases/$TARBALL"
    1.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 +DEPENDS="libusb"
    1.21  BUILD_DEPENDS="pkg-config glib libusb-dev"
    1.22  
    1.23  # What is the latest version available today?
    1.24 @@ -24,16 +25,16 @@
    1.25  compile_rules()
    1.26  {
    1.27  	export CFLAGS="$CFLAGS -I/usr/include/libusb-1.0"
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 +
    1.31 +	./configure		\
    1.32 +		--prefix=/usr	\
    1.33  		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35 -	make DESTDIR=$DESTDIR install
    1.36 +	make install DESTDIR=$DESTDIR
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +	cook_copy_folders	bin
    1.45  }