wok view sunxi-tools/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
parents | b569b85b0fb9 |
children | 870e1ce31226 |
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="http://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 }