From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild (limited to 'dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild') 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..aa263865c0de --- /dev/null +++ b/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils toolchain-funcs + +MY_PV="v${PV}" +SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz -> ${P}.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 +} -- cgit v1.2.3