wok rev 25334

updated sunxi-tools (1.1-80 -> 1.4.2)
author Hans-G?nter Theisgen
date Sat Jul 23 17:16:06 2022 +0100 (2022-07-23)
parents f606a1532612
children 77f76ba66e45
files sunxi-tools/description.txt sunxi-tools/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sunxi-tools/description.txt	Sat Jul 23 17:16:06 2022 +0100
     1.3 @@ -0,0 +1,3 @@
     1.4 +Command line utilities to work with devices based on
     1.5 +Allwinner SoCs: sun4i, sun5i, ... - that's why the
     1.6 +'x' in the package name.
     2.1 --- a/sunxi-tools/receipt	Sat Jul 23 15:37:19 2022 +0100
     2.2 +++ b/sunxi-tools/receipt	Sat Jul 23 17:16:06 2022 +0100
     2.3 @@ -3,15 +3,16 @@
     2.4  PACKAGE="sunxi-tools"
     2.5  VERSION="1.4.2"
     2.6  CATEGORY="development"
     2.7 -SHORT_DESC="help hacking Allwinner A10 (aka sun4i) based devices."
     2.8 +SHORT_DESC="Help hacking Allwinner A10 (aka sun4i) based devices."
     2.9  MAINTAINER="pascal.bellard@slitaz.org"
    2.10  LICENSE="GPL2"
    2.11  WEB_SITE="https://linux-sunxi.org/Sunxi-tools"
    2.12 +
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 -WGET_URL="https://github.com/linux-sunxi/sunxi-tools/archive/refs/tags/v$VERSION.tar.gz"
    2.15 +WGET_URL="https://github.com/linux-sunxi/$PACKAGE/archive/v$VERSION.tar.gz"
    2.16  
    2.17  DEPENDS="libusb"
    2.18 -BUILD_DEPENDS="wget pkg-config libusb-dev"
    2.19 +BUILD_DEPENDS="pkg-config libusb-dev"
    2.20  
    2.21  # What is the latest version available today?
    2.22  current_version()
    2.23 @@ -23,15 +24,18 @@
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -	make && make phoenix_info
    2.28 +	make DESTDIR=$DESTDIR PREFIX=/usr &&
    2.29 +	make phoenix_info DESTDIR=$DESTDIR PREFIX=/usr &&
    2.30 +	make install DESTDIR=$DESTDIR PREFIX=/usr
    2.31  }
    2.32  
    2.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.34  genpkg_rules()
    2.35  {
    2.36 -	mkdir -p $fs/usr
    2.37 -	cp -a $src/bin $fs/usr/
    2.38 -	for i in sunxi-nand-part sunxi-pio sunxi-fexc fex2bin bin2fex sunxi-fel phoenix_info ; do
    2.39 -		cp -a $src/$i $fs/usr/bin
    2.40 -	done
    2.41 +	cook_copy_folders	bin
    2.42 +	cp -a $src/bin		$fs/usr
    2.43 +	for i in sunxi-nand-part sunxi-pio sunxi-fexc fex2bin bin2fex sunxi-fel phoenix_info
    2.44 +	  do
    2.45 +		cp -a $src/$i	$fs/usr/bin
    2.46 +	  done
    2.47  }