wok-next view sunxi-tools/receipt @ rev 15143
Up cromfs (1.5.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:33:36 2013 +0000 (2013-08-15) |
parents | 80fa14a06998 |
children | da9e80c5d4bb |
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 LICENSE="GPL2"
9 WEB_SITE="http://linux-sunxi.org/Sunxi-tools"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}"
13 DEPENDS="libusb"
14 BUILD_DEPENDS="wget pkg-config libusb-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make && make phoenix_info
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \
28 bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do
29 cp -a $src/$i $fs/usr/bin
30 done
31 }