wok-current annotate sunxi-tools/receipt @ rev 17332
Up fxload (2008_10_13)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 05 14:56:51 2014 +0100 (2014-11-05) |
parents | 80fa14a06998 |
children | b569b85b0fb9 |
rev | line source |
---|---|
pascal@13468 | 1 # SliTaz package receipt. |
pascal@13468 | 2 |
pascal@13468 | 3 PACKAGE="sunxi-tools" |
pascal@13468 | 4 VERSION="1.1-80-g3561247" |
pascal@13468 | 5 CATEGORY="development" |
pascal@13468 | 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" |
pascal@13468 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13468 | 11 WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}" |
pascal@13468 | 12 |
pascal@13468 | 13 DEPENDS="libusb" |
pascal@13469 | 14 BUILD_DEPENDS="wget pkg-config libusb-dev" |
pascal@13468 | 15 |
pascal@13468 | 16 # Rules to configure and make the package. |
pascal@13468 | 17 compile_rules() |
pascal@13468 | 18 { |
pascal@13468 | 19 cd $src |
pascal@13468 | 20 make && make phoenix_info |
pascal@13468 | 21 } |
pascal@13468 | 22 |
pascal@13468 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13468 | 24 genpkg_rules() |
pascal@13468 | 25 { |
pascal@13468 | 26 mkdir -p $fs/usr/bin |
pascal@13468 | 27 for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \ |
pascal@13468 | 28 bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do |
pascal@13468 | 29 cp -a $src/$i $fs/usr/bin |
pascal@13468 | 30 done |
pascal@13468 | 31 } |