wok view sunxi-tools/receipt @ rev 25035

Up libqcow (20210419)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 18:11:13 2022 +0000 (2022-05-20)
parents 241fb98cab1c
children 7689fec2e794
line source
1 # SliTaz package receipt.
3 PACKAGE="sunxi-tools"
4 VERSION="1.1-80-g3561247"
5 CATEGORY="development"
6 SHORT_DESC="help hacking Allwinner A10 (aka sun4i) based devices."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://linux-sunxi.org/Sunxi-tools"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}"
13 DEPENDS="libusb"
14 BUILD_DEPENDS="wget pkg-config libusb-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/linux-sunxi/sunxi-tools/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 make && make phoenix_info
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \
35 bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do
36 cp -a $src/$i $fs/usr/bin
37 done
38 }