summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2015-10-02 23:08:36 +0100
committerTony Vroon <chainsaw@gentoo.org>2015-10-02 23:08:36 +0100
commit2787244ca5f03ba51bc6daaddfba687694c85031 (patch)
tree96e46c3a29bf8c1d2ff75c6cc6f3dbe44734114d /dev-embedded
parentsys-devel/gcc: marked stable for arm, bug #561844 c#5 (diff)
downloadgentoo-2787244ca5f03ba51bc6daaddfba687694c85031.tar.gz
gentoo-2787244ca5f03ba51bc6daaddfba687694c85031.tar.bz2
gentoo-2787244ca5f03ba51bc6daaddfba687694c85031.zip
dev-embedded/sunxi-tools: New addition. Ebuild by me, inspired by mkeyoverlay.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/sunxi-tools/Manifest1
-rw-r--r--dev-embedded/sunxi-tools/metadata.xml9
-rw-r--r--dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild28
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-embedded/sunxi-tools/Manifest b/dev-embedded/sunxi-tools/Manifest
new file mode 100644
index 000000000000..e1f9a56809dd
--- /dev/null
+++ b/dev-embedded/sunxi-tools/Manifest
@@ -0,0 +1 @@
+DIST v1.2.tar.gz 35378 SHA256 86c1f2ace861a320b90bf5962a45329120ddc903cf0df678f1d31a44d6ba6b6e SHA512 bf050e4c9a338ad0b128f455a415904107efe54878e831074373b20f727a4cf9700a7b4ad73a5b21c91a1f41b588ec35070b54671c01c8ab81e0c340c299a2b1 WHIRLPOOL 0af6ae1fbc36dc4921878bd661304728ec2b860e5c40d12ba55f3d05dd7bab45d7f712c281d44868fee828fec654fc00a8efbfaa739ef8f2eef7b603dd720f50
diff --git a/dev-embedded/sunxi-tools/metadata.xml b/dev-embedded/sunxi-tools/metadata.xml
new file mode 100644
index 000000000000..971a1f40f956
--- /dev/null
+++ b/dev-embedded/sunxi-tools/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>embedded</herd>
+ <maintainer>
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild
new file mode 100644
index 000000000000..4668be33cddc
--- /dev/null
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+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 bootinfo fel fex2bin fexc nand-part phoenix_info pio
+}