diff options
-rw-r--r-- | dev-embedded/stm32flash/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/stm32flash/metadata.xml | 8 | ||||
-rw-r--r-- | dev-embedded/stm32flash/stm32flash-0.5.ebuild | 25 |
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-embedded/stm32flash/Manifest b/dev-embedded/stm32flash/Manifest new file mode 100644 index 000000000000..5fc3e704edab --- /dev/null +++ b/dev-embedded/stm32flash/Manifest @@ -0,0 +1 @@ +DIST stm32flash-0.5.tar.gz 41087 SHA256 97aa9422ef02e82f7da9039329e21a437decf972cb3919ad817f70ac9a49e306 SHA512 a01875a315d92d5e347372b736f2afa2f633851bf13af1326341c0c91e17cef54b6730ed1279280e86d3797033c856dfc25e8c595e010772b9287aaf965273f9 WHIRLPOOL 2fd964fd3bf4799e0eb737e44f0669eac7f766d1811d29c3fa22b17cf6028431e48bae434aae3a2c3862d61e77c07686e2b8ef2374fd759824af8553cbfc9ad1 diff --git a/dev-embedded/stm32flash/metadata.xml b/dev-embedded/stm32flash/metadata.xml new file mode 100644 index 000000000000..a8fb43312942 --- /dev/null +++ b/dev-embedded/stm32flash/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>jer@gentoo.org</email> +<name>Jeroen Roovers</name> +</maintainer> +</pkgmetadata> diff --git a/dev-embedded/stm32flash/stm32flash-0.5.ebuild b/dev-embedded/stm32flash/stm32flash-0.5.ebuild new file mode 100644 index 000000000000..c1e17f12ab38 --- /dev/null +++ b/dev-embedded/stm32flash/stm32flash-0.5.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="Open source flash program for STM32 using the ST serial bootloader" +HOMEPAGE="https://sourceforge.net/projects/stm32flash/" +SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S=${WORKDIR}/${PN} + +src_prepare() { + default + tc-export CC +} + +src_install() { + dobin ${PN} + doman ${PN}.1 +} |