wok-current view sunxi-tools/receipt @ rev 13506

Up: razorqt (0.5.0) With new splited packages and a bunch of new features)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Oct 13 22:11:32 2012 +0200 (2012-10-13)
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 }