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

arm arch: fix pkgs build for kbd and e2fsprogs plus add flex and check
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 23:10:15 2014 +0100 (2014-02-22)
parents 80fa14a06998
children b569b85b0fb9
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 }