diff options
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/icdprog/icdprog-0.5.ebuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/dev-embedded/icdprog/icdprog-0.5.ebuild b/dev-embedded/icdprog/icdprog-0.5.ebuild index 5b1a9e09b0d9..41a887a64a6d 100644 --- a/dev-embedded/icdprog/icdprog-0.5.ebuild +++ b/dev-embedded/icdprog/icdprog-0.5.ebuild @@ -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 @@ -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() { |