2014-01-25 13:50:12 +01:00
|
|
|
# Template file for 'sunxi-tools'
|
|
|
|
pkgname=sunxi-tools
|
2015-05-26 14:30:00 +02:00
|
|
|
version=20150526
|
2014-01-25 13:50:12 +01:00
|
|
|
revision=1
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="pkg-config git"
|
2014-01-26 16:56:45 +01:00
|
|
|
makedepends="libusb-devel"
|
2014-01-25 13:50:12 +01:00
|
|
|
short_desc="Tools to help hacking Allwinner AXX (aka sunxi) based devices"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-01-25 13:50:12 +01:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://github.com/linux-sunxi/sunxi-tools"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone git://github.com/linux-sunxi/sunxi-tools ${pkgname}-${version}
|
|
|
|
}
|
2015-05-26 14:30:00 +02:00
|
|
|
do_build() {
|
|
|
|
make CC=$CC
|
|
|
|
}
|
2014-01-25 13:50:12 +01:00
|
|
|
do_install() {
|
|
|
|
vinstall README 644 usr/share/doc/${pkgname}
|
|
|
|
|
|
|
|
for f in fexc bootinfo fel usb-boot fel-gpio pio nand-part; do
|
|
|
|
vinstall ${f} 755 usr/bin
|
|
|
|
done
|
|
|
|
cd ${DESTDIR}/usr/bin
|
|
|
|
ln -s fexc fex2bin
|
|
|
|
ln -s fexc bin2fex
|
|
|
|
}
|