summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-16 18:09:55 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-16 18:09:55 +0200
commit7ae4c2975c297bf6300e700f4211d31dbc6f39b5 (patch)
tree80d539085be1920959d24a092b5cba9686be7920 /dev-embedded/icdprog
parentdev-embedded/include: Port to EAPI 7 (diff)
downloadgentoo-7ae4c2975c297bf6300e700f4211d31dbc6f39b5.tar.gz
gentoo-7ae4c2975c297bf6300e700f4211d31dbc6f39b5.tar.bz2
gentoo-7ae4c2975c297bf6300e700f4211d31dbc6f39b5.zip
dev-embedded/icdprog: Port to EAPI 7
Closes: https://bugs.gentoo.org/742179 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-embedded/icdprog')
-rw-r--r--dev-embedded/icdprog/icdprog-0.5.ebuild21
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() {