wok-6.x 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 | 393a37db48f8 |
children | 80fa14a06998 |
files | sunxi-tools/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sunxi-tools/receipt Mon Oct 08 17:08:00 2012 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="sunxi-tools" 1.7 +VERSION="1.1-80-g3561247" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="help hacking Allwinner A10 (aka sun4i) based devices." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://linux-sunxi.org/Sunxi-tools" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}" 1.14 + 1.15 +DEPENDS="libusb" 1.16 +BUILD_DEPENDS="pkg-config libusb-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + make && make phoenix_info 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/bin 1.29 + for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \ 1.30 + bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do 1.31 + cp -a $src/$i $fs/usr/bin 1.32 + done 1.33 +}