wok-6.x view sunxi-tools/receipt @ rev 13468

Add sunxi-tools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 08 17:08:00 2012 +0200 (2012-10-08)
parents
children 80fa14a06998
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 WEB_SITE="http://linux-sunxi.org/Sunxi-tools"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}"
12 DEPENDS="libusb"
13 BUILD_DEPENDS="pkg-config libusb-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make && make phoenix_info
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \
27 bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do
28 cp -a $src/$i $fs/usr/bin
29 done
30 }