wok diff dfu-util/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 370da83187ab
children ad0bc3efbf37
line diff
     1.1 --- a/dfu-util/receipt	Fri Feb 04 09:24:50 2022 +0000
     1.2 +++ b/dfu-util/receipt	Sat May 21 21:38:29 2022 +0000
     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  }