# HG changeset patch # User Hans-G?nter Theisgen # Date 1658592966 -3600 # Node ID fe45ec24ff48c5dfefd2cddf372a441693d6c320 # Parent f606a1532612132a8f3b5cb7908cc762498be8ca updated sunxi-tools (1.1-80 -> 1.4.2) diff -r f606a1532612 -r fe45ec24ff48 sunxi-tools/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sunxi-tools/description.txt Sat Jul 23 17:16:06 2022 +0100 @@ -0,0 +1,3 @@ +Command line utilities to work with devices based on +Allwinner SoCs: sun4i, sun5i, ... - that's why the +'x' in the package name. diff -r f606a1532612 -r fe45ec24ff48 sunxi-tools/receipt --- a/sunxi-tools/receipt Sat Jul 23 15:37:19 2022 +0100 +++ b/sunxi-tools/receipt Sat Jul 23 17:16:06 2022 +0100 @@ -3,15 +3,16 @@ PACKAGE="sunxi-tools" VERSION="1.4.2" CATEGORY="development" -SHORT_DESC="help hacking Allwinner A10 (aka sun4i) based devices." +SHORT_DESC="Help hacking Allwinner A10 (aka sun4i) based devices." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://linux-sunxi.org/Sunxi-tools" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://github.com/linux-sunxi/sunxi-tools/archive/refs/tags/v$VERSION.tar.gz" +WGET_URL="https://github.com/linux-sunxi/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="libusb" -BUILD_DEPENDS="wget pkg-config libusb-dev" +BUILD_DEPENDS="pkg-config libusb-dev" # What is the latest version available today? current_version() @@ -23,15 +24,18 @@ # Rules to configure and make the package. compile_rules() { - make && make phoenix_info + make DESTDIR=$DESTDIR PREFIX=/usr && + make phoenix_info DESTDIR=$DESTDIR PREFIX=/usr && + make install DESTDIR=$DESTDIR PREFIX=/usr } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $src/bin $fs/usr/ - for i in sunxi-nand-part sunxi-pio sunxi-fexc fex2bin bin2fex sunxi-fel phoenix_info ; do - cp -a $src/$i $fs/usr/bin - done + cook_copy_folders bin + cp -a $src/bin $fs/usr + for i in sunxi-nand-part sunxi-pio sunxi-fexc fex2bin bin2fex sunxi-fel phoenix_info + do + cp -a $src/$i $fs/usr/bin + done }