wok-6.x diff sunxi-tools/receipt @ rev 25522

created recipes for libtermkey and libtermkey-dev 0.22
author Hans-G?nter Theisgen
date Fri Feb 24 17:12:54 2023 +0100 (20 months ago)
parents 7689fec2e794
children
line diff
     1.1 --- a/sunxi-tools/receipt	Mon Jun 06 08:51:13 2022 +0000
     1.2 +++ b/sunxi-tools/receipt	Fri Feb 24 17:12:54 2023 +0100
     1.3 @@ -3,15 +3,16 @@
     1.4  PACKAGE="sunxi-tools"
     1.5  VERSION="1.4.2"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="help hacking Allwinner A10 (aka sun4i) based devices."
     1.8 +SHORT_DESC="Help hacking Allwinner A10 (aka sun4i) based devices."
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11  WEB_SITE="https://linux-sunxi.org/Sunxi-tools"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WGET_URL="https://github.com/linux-sunxi/sunxi-tools/archive/refs/tags/v$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/linux-sunxi/$PACKAGE/archive/v$VERSION.tar.gz"
    1.16  
    1.17  DEPENDS="libusb"
    1.18 -BUILD_DEPENDS="wget pkg-config libusb-dev"
    1.19 +BUILD_DEPENDS="pkg-config libusb-dev"
    1.20  
    1.21  # What is the latest version available today?
    1.22  current_version()
    1.23 @@ -23,15 +24,18 @@
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	make && make phoenix_info
    1.28 +	make DESTDIR=$DESTDIR PREFIX=/usr &&
    1.29 +	make phoenix_info DESTDIR=$DESTDIR PREFIX=/usr &&
    1.30 +	make install DESTDIR=$DESTDIR PREFIX=/usr
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr
    1.37 -	cp -a $src/bin $fs/usr/
    1.38 -	for i in sunxi-nand-part sunxi-pio sunxi-fexc fex2bin bin2fex sunxi-fel phoenix_info ; do
    1.39 -		cp -a $src/$i $fs/usr/bin
    1.40 -	done
    1.41 +	cook_copy_folders	bin
    1.42 +	cp -a $src/bin		$fs/usr
    1.43 +	for i in sunxi-nand-part sunxi-pio sunxi-fexc fex2bin bin2fex sunxi-fel phoenix_info
    1.44 +	  do
    1.45 +		cp -a $src/$i	$fs/usr/bin
    1.46 +	  done
    1.47  }