commit aa1bd38aa6f69dd8e75de17c46cc20140e65b6d7 parent 2384974b979fbda4abcf7f6a464334dacf4b2b06 Author: parazyd <parazyd@dyne.org> Date: Tue, 2 Jan 2018 14:24:18 +0100 dev-embedded/sunxi-tools: Add 9999 Diffstat:
A | dev-embedded/sunxi-tools/metadata.xml | | | 7 | +++++++ |
A | dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild | | | 32 | ++++++++++++++++++++++++++++++++ |
2 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/dev-embedded/sunxi-tools/metadata.xml b/dev-embedded/sunxi-tools/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>parazyd@dyne.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit git-r3 + +DESCRIPTION="command line utilities to work with devicess based on Allwinner SoC" +HOMEPAGE="https://github.com/linux-sunxi/sunxi-tools" +EGIT_REPO_URI="https://github.com/linux-sunxi/sunxi-tools" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" + +src_compile() { + emake tools + emake misc +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install-tools + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install-misc + dodoc README.md + + dosym /usr/bin/sunxi-fexc usr/bin/fex2bin + dosym /usr/bin/sunxi-fexc usr/bin/bin2fex +}