From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A0F17138AE9 for ; Wed, 27 Dec 2017 22:31:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 183D5E0FC3; Wed, 27 Dec 2017 22:31:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF5AFE0FC3 for ; Wed, 27 Dec 2017 22:31:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BDD82340BEA for ; Wed, 27 Dec 2017 22:31:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 499F2AFA7 for ; Wed, 27 Dec 2017 22:31:22 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1514413872.6d3f0053feb20396daf71d11eac21459989a0ac2.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/makeheaders/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/makeheaders/makeheaders-0_p4.ebuild X-VCS-Directories: dev-util/makeheaders/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 6d3f0053feb20396daf71d11eac21459989a0ac2 X-VCS-Branch: master Date: Wed, 27 Dec 2017 22:31:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 646a94f5-a300-4c1e-a98d-146f4a3b0fd6 X-Archives-Hash: cbb927a5ccc6c07ca1c3df13279e05e6 commit: 6d3f0053feb20396daf71d11eac21459989a0ac2 Author: David Seifert gentoo org> AuthorDate: Wed Dec 27 22:23:28 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Dec 27 22:31:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3f0053 dev-util/makeheaders: Port to EAPI 6 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-util/makeheaders/makeheaders-0_p4.ebuild | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/dev-util/makeheaders/makeheaders-0_p4.ebuild b/dev-util/makeheaders/makeheaders-0_p4.ebuild index c7433fcbeb3..0d4b0aa383c 100644 --- a/dev-util/makeheaders/makeheaders-0_p4.ebuild +++ b/dev-util/makeheaders/makeheaders-0_p4.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=3 +EAPI=6 inherit toolchain-funcs DESCRIPTION="simple utility that will automatically generate header files" HOMEPAGE="http://www.hwaci.com/sw/mkhdr/" -SRC_URI="http://www.hwaci.com/sw/mkhdr/makeheaders.c -> ${P}.c +SRC_URI=" + http://www.hwaci.com/sw/mkhdr/makeheaders.c -> ${P}.c http://www.hwaci.com/sw/mkhdr/makeheaders.html -> ${P}.html" LICENSE="BSD-2" @@ -15,21 +16,15 @@ SLOT="0" KEYWORDS="amd64 ~ppc ~sparc x86" IUSE="" -DEPEND="" -RDEPEND="" - -src_unpack() { - local my_a - for my_a in ${A} ; do - cp -v "${DISTDIR}"/"${my_a}" . || die - done -} +S=${WORKDIR} src_compile() { - $(tc-getCC) ${CFLAGS} -o ${PN} ${P}.c ${LDFLAGS} || die + $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${PN} "${DISTDIR}"/${P}.c || die } src_install() { - dobin ${PN} || die - dohtml ${P}.html || die + dobin ${PN} + + local HTML_DOCS=( "${DISTDIR}"/${P}.html ) + einstalldocs }