diff options
Diffstat (limited to 'dev-embedded/lpc21isp/lpc21isp-1.97.ebuild')
-rw-r--r-- | dev-embedded/lpc21isp/lpc21isp-1.97.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-embedded/lpc21isp/lpc21isp-1.97.ebuild b/dev-embedded/lpc21isp/lpc21isp-1.97.ebuild new file mode 100644 index 000000000000..081ebfcad4fe --- /dev/null +++ b/dev-embedded/lpc21isp/lpc21isp-1.97.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}_$(ver_rs 1- '')" + +DESCRIPTION="In-circuit programming (ISP) tool for the NXP microcontrollers" +HOMEPAGE="https://sourceforge.net/projects/lpc21isp/" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + default + + # Upstream makefile has got DOS line endings so using patches there is fragile, + # see Bug #827018. + sed -i -e 's#^\(CC \?\)=#\1?=#' Makefile || die +} + +src_install() { + dobin lpc21isp +} |