wok-next annotate sunxi-tools/receipt @ rev 20503
Packing...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 06:03:21 2018 +0200 (2018-03-16) |
parents | 380ffe05937a |
children | d5aab818505e |
rev | line source |
---|---|
al@20503 | 1 # SliTaz package receipt v2. |
pascal@13468 | 2 |
pascal@13468 | 3 PACKAGE="sunxi-tools" |
pascal@13468 | 4 VERSION="1.1-80-g3561247" |
pascal@13468 | 5 CATEGORY="development" |
al@20503 | 6 SHORT_DESC="Help hacking Allwinner A10 (aka sun4i) based devices" |
pascal@13468 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@13468 | 9 WEB_SITE="http://linux-sunxi.org/Sunxi-tools" |
al@20503 | 10 |
pascal@13468 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13468 | 12 WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}" |
pascal@13468 | 13 |
al@20503 | 14 BUILD_DEPENDS="libusb-dev" |
pascal@13468 | 15 |
al@20503 | 16 compile_rules() { |
al@20503 | 17 make && make phoenix_info || return 1 |
al@20503 | 18 |
al@20503 | 19 mkdir -p $install/usr/bin/ |
al@20503 | 20 cp pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \ |
al@20503 | 21 bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info \ |
al@20503 | 22 $install/usr/bin/ |
pascal@13468 | 23 } |
pascal@13468 | 24 |
al@20503 | 25 genpkg_rules() { |
al@20503 | 26 copy @std |
al@20503 | 27 DEPENDS="libusb" |
pascal@13468 | 28 } |