wok-current annotate sunxi-tools/receipt @ rev 13795
blender: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 13:26:25 2013 +0100 (2013-01-05) |
parents | 10e3fe1de765 |
children | 380ffe05937a |
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@13468 | 8 WEB_SITE="http://linux-sunxi.org/Sunxi-tools" |
pascal@13468 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13468 | 10 WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}" |
pascal@13468 | 11 |
pascal@13468 | 12 DEPENDS="libusb" |
pascal@13469 | 13 BUILD_DEPENDS="wget pkg-config libusb-dev" |
pascal@13468 | 14 |
pascal@13468 | 15 # Rules to configure and make the package. |
pascal@13468 | 16 compile_rules() |
pascal@13468 | 17 { |
pascal@13468 | 18 cd $src |
pascal@13468 | 19 make && make phoenix_info |
pascal@13468 | 20 } |
pascal@13468 | 21 |
pascal@13468 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13468 | 23 genpkg_rules() |
pascal@13468 | 24 { |
pascal@13468 | 25 mkdir -p $fs/usr/bin |
pascal@13468 | 26 for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \ |
pascal@13468 | 27 bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do |
pascal@13468 | 28 cp -a $src/$i $fs/usr/bin |
pascal@13468 | 29 done |
pascal@13468 | 30 } |