diff options
Diffstat (limited to 'sys-apps/rkflashtool')
-rw-r--r-- | sys-apps/rkflashtool/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/rkflashtool/files/rkflashtool-5.1-missing-version.h | 5 | ||||
-rw-r--r-- | sys-apps/rkflashtool/metadata.xml | 11 | ||||
-rw-r--r-- | sys-apps/rkflashtool/rkflashtool-5.1.ebuild | 34 |
4 files changed, 51 insertions, 0 deletions
diff --git a/sys-apps/rkflashtool/Manifest b/sys-apps/rkflashtool/Manifest new file mode 100644 index 000000000000..e3cb5198608e --- /dev/null +++ b/sys-apps/rkflashtool/Manifest @@ -0,0 +1 @@ +DIST rkflashtool-5.1-src.tar.xz 10548 SHA256 b802b4bd634a614df23f45f65cda8620695282e2646fb5eacd6a69001a110ed6 SHA512 0dbe69dc7fc224e91e170d5630e770e82257121c2215c6e196b2a8450a9e22bab583b57de50acb9aaad223b9d216b731a92260638c648018c319917705983fb2 WHIRLPOOL 6b1de8a5365e55eadb21d2c96c229a2876b31ae9c4a9dade50bebb8eb4e2cc5642ce33213b150487ca546215d47d2cd062f73b958508a6569f3f85c8c396017d diff --git a/sys-apps/rkflashtool/files/rkflashtool-5.1-missing-version.h b/sys-apps/rkflashtool/files/rkflashtool-5.1-missing-version.h new file mode 100644 index 000000000000..bfffda893a2f --- /dev/null +++ b/sys-apps/rkflashtool/files/rkflashtool-5.1-missing-version.h @@ -0,0 +1,5 @@ +#ifndef RKFLASHTOOL_VERSION_H +#define RKFLASHTOOL_VERSION_H +#define RKFLASHTOOL_VERSION_MAJOR 5 +#define RKFLASHTOOL_VERSION_MINOR 1 +#endif diff --git a/sys-apps/rkflashtool/metadata.xml b/sys-apps/rkflashtool/metadata.xml new file mode 100644 index 000000000000..8104459971ba --- /dev/null +++ b/sys-apps/rkflashtool/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">rkflashtool</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-apps/rkflashtool/rkflashtool-5.1.ebuild b/sys-apps/rkflashtool/rkflashtool-5.1.ebuild new file mode 100644 index 000000000000..a3988d7f386c --- /dev/null +++ b/sys-apps/rkflashtool/rkflashtool-5.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Tool for flashing Rockchip devices" +HOMEPAGE="http://sourceforge.net/projects/rkflashtool/" +SRC_URI="mirror://sourceforge/project/${PN}/${P}/${P}-src.tar.xz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +S=${WORKDIR}/${P}-src + +RDEPEND="virtual/libusb:1" +DEPEND="${RDEPEND}" + +src_prepare(){ + cp "${FILESDIR}"/${P}-missing-version.h version.h || die + sed -i -e "s/CC =/CC ?=/"\ + -e "s/CFLAGS =/CFLAGS ?=/"\ + -e "s/LDFLAGS =/LDFLAGS ?=/" Makefile || die + tc-export CC +} + +src_install(){ + dodoc README + dobin ${PN} rkcrc rkflashtool rkmisc rkpad rkparameters rkparametersblock rkunpack rkunsign +} |