diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-12-23 02:01:54 +0600 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-12-23 02:01:54 +0600 |
commit | 9941bb9608232f827e50a1fc58247cc01c3dec62 (patch) | |
tree | 484b174cc1a9f429c6940b5d9d18abf34b6e42e5 /dev-embedded | |
parent | SweetHome3D (diff) | |
download | activehome-9941bb9608232f827e50a1fc58247cc01c3dec62.tar.gz activehome-9941bb9608232f827e50a1fc58247cc01c3dec62.tar.bz2 activehome-9941bb9608232f827e50a1fc58247cc01c3dec62.zip |
lm4tools
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/lm4tools/lm4tools-9999.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-embedded/lm4tools/lm4tools-9999.ebuild b/dev-embedded/lm4tools/lm4tools-9999.ebuild new file mode 100644 index 0000000..8428d3e --- /dev/null +++ b/dev-embedded/lm4tools/lm4tools-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +EAPI=4 + +EGIT_REPO_URI=" https://github.com/utzig/lm4tools.git" + +inherit eutils toolchain-funcs git-2 + +DESCRIPTION="provides lm4flash and lmicdiusb for developing on the TI Stellaris Launchpad" +HOMEPAGE="https://github.com/utzig/lm4tools" + +LICENSE="GPL-2+ MIT" +SLOT="0" +IUSE="" + +RDEPEND="virtual/libusb:1" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare () { + sed -e "s:gcc:$(tc-getCC):" -i lm4flash/Makefile || die +} + +src_compile () { + CC=$(tc-getCC) emake -C lmicdiusb + emake -C lm4flash +} + +src_install () { + dobin lm4flash/lm4flash + dobin lmicdiusb/lmicdi + dodoc README.md lmicdiusb/{README,commands.txt} +} |