summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2016-07-13 10:39:30 +0100
committerTony Vroon <chainsaw@gentoo.org>2016-07-13 10:39:30 +0100
commitc57cf9b2e91728d44ebc689a78e5e3afc7eb9224 (patch)
tree926c92094d5d3dab58a4adb85d0ff2d7a97aad48 /dev-embedded
parentdev-games/aseprite: Version bump 1.1.6, remove old 1.1.5 (diff)
downloadgentoo-c57cf9b2e91728d44ebc689a78e5e3afc7eb9224.tar.gz
gentoo-c57cf9b2e91728d44ebc689a78e5e3afc7eb9224.tar.bz2
gentoo-c57cf9b2e91728d44ebc689a78e5e3afc7eb9224.zip
dev-embedded/sunxi-tools: Version bump to 1.3; all ebuild work by Alexander Nigl in bug #588264.
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild
new file mode 100644
index 000000000000..6d6d13c9bf10
--- /dev/null
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit eutils toolchain-funcs
+
+MY_PV="v${PV}"
+SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz"
+
+DESCRIPTION="Tools for Allwinner A10 devices."
+HOMEPAGE="http://linux-sunxi.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64"
+
+DEPEND="virtual/libusb"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/" all misc
+}
+
+src_install() {
+ dobin bin2fex fex2bin phoenix_info
+ newbin sunxi-bootinfo bootinfo
+ newbin sunxi-fel fel
+ newbin sunxi-fexc fexc
+ newbin sunxi-nand-part nand-part
+ newbin sunxi-pio pio
+}