gentoo-ebuilds/dev-embedded/lpc21isp/lpc21isp-1.97.ebuild
Lucio Sauer 794061a329
*/*: inline mirror://sourceforge
bump copyright of touched ebuilds to 2024

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-04-30 20:21:05 +02:00

28 lines
663 B
Bash

# Copyright 1999-2024 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="https://downloads.sourceforge.net/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
}