wok diff sunxi-tools/receipt @ rev 25054

Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 08:51:13 2022 +0000 (23 months ago)
parents 870e1ce31226
children fe45ec24ff48
line diff
     1.1 --- a/sunxi-tools/receipt	Fri Apr 08 10:34:41 2022 +0000
     1.2 +++ b/sunxi-tools/receipt	Mon Jun 06 08:51:13 2022 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sunxi-tools"
     1.7 -VERSION="1.1-80-g3561247"
     1.8 +VERSION="1.4.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="help hacking Allwinner A10 (aka sun4i) based devices."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="https://linux-sunxi.org/Sunxi-tools"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}"
    1.16 +WGET_URL="https://github.com/linux-sunxi/sunxi-tools/archive/refs/tags/v$VERSION.tar.gz"
    1.17  
    1.18  DEPENDS="libusb"
    1.19  BUILD_DEPENDS="wget pkg-config libusb-dev"
    1.20 @@ -23,16 +23,15 @@
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25  	make && make phoenix_info
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr/bin
    1.32 -	for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \
    1.33 -		 bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do
    1.34 +	mkdir -p $fs/usr
    1.35 +	cp -a $src/bin $fs/usr/
    1.36 +	for i in sunxi-nand-part sunxi-pio sunxi-fexc fex2bin bin2fex sunxi-fel phoenix_info ; do
    1.37  		cp -a $src/$i $fs/usr/bin
    1.38  	done
    1.39  }