wok view sunxi-tools/receipt @ rev 13946

Up gpm (1.20.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 29 18:22:11 2013 +0100 (2013-01-29)
parents 10e3fe1de765
children 380ffe05937a
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="wget 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 }