Skip to content

Commit

Permalink
dev-embedded/icdprog: Port to EAPI 7
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/742179
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Sep 16, 2020
1 parent ec430dc commit 7ae4c29
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions dev-embedded/icdprog/icdprog-0.5.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=4
EAPI=7

inherit toolchain-funcs

Expand All @@ -12,22 +12,23 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""

src_compile() {
src_configure() {
tc-export CC
}

cd "${S}"/src
emake CFLAGS="${CFLAGS}"
cd "${S}"/src/icddump
emake CFLAGS="${CFLAGS}"
src_compile() {
emake CFLAGS="${CFLAGS}" -C src
emake CFLAGS="${CFLAGS}" -C src/icddump
}

src_install() {
dobin src/icdprog
dobin src/icddump/icddump
dohtml readme.html
dodoc src/README.coders

DOCS=( src/README.coders )
HTML_DOCS=( readme.html )
einstalldocs
}

pkg_postinst() {
Expand Down

0 comments on commit 7ae4c29

Please sign in to comment.