diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
commit | ccf84bcd604130256d1377cd58f0a634ae6ee20f (patch) | |
tree | f42a709e0c7805183f5680883bc76dc935b7a0cc /dev-util/makeheaders | |
parent | c85a90f90521c7e11d618b527d6630cc64cecbd4 (diff) |
gentoo resync : 28.12.2017
Diffstat (limited to 'dev-util/makeheaders')
-rw-r--r-- | dev-util/makeheaders/Manifest | 2 | ||||
-rw-r--r-- | dev-util/makeheaders/makeheaders-0_p4.ebuild | 25 |
2 files changed, 11 insertions, 16 deletions
diff --git a/dev-util/makeheaders/Manifest b/dev-util/makeheaders/Manifest index 5d0706a96986..4cd3682ccdea 100644 --- a/dev-util/makeheaders/Manifest +++ b/dev-util/makeheaders/Manifest @@ -1,4 +1,4 @@ DIST makeheaders-0_p4.c 99253 BLAKE2B 103d4b1d75fb3cb38fdf97dcf051f263c1ee7c08f8d2b4b791994948f0323cbf69fc66840464591ea8596c7ab6857eaf9ddd56bb69f2f035f57d99fbf5444992 SHA512 d46a23a4ee1436f1bad2f0d26e7de9be47a84b0c163430bdaf360c4c6a94b84949f2a427683265898312e56e9dda316992857e488202aa74afcc3939fa712a35 DIST makeheaders-0_p4.html 35481 BLAKE2B a5e4e4804b612eb164f46cb8ef664952b3f1819a2915e2e905b58e6719cbc7480e4fd2f81f1d1d91b2029b15ed0c9b2c799ae99538b8ad77d49d3606d91b50d5 SHA512 903437c9d4b280af1cb9d5e29df150fb347ef9c62ec146daecfb5c4093554531c206bc73885cc7aacea1b7c24fb473e240a03a31c139caf6bc0e42901b518597 -EBUILD makeheaders-0_p4.ebuild 711 BLAKE2B 5ba6f3509626d7fc358f516b416795aaa5c3b0ea86bfc08118bde84c4c140164ac28af558178e10bdfcdfe265cb12da6a58a2a3c0809bcc0031dec9a5b3fc96f SHA512 344f7c291d418836b569304b8af4b4dee6d99a66abba30d03cf49077c859fd512a9442a814463136546a195b51e2b45676103c1897078a6982a95828a08fe06a +EBUILD makeheaders-0_p4.ebuild 658 BLAKE2B 4262d895536f636a1037d784ce6ee55b28582f94820a6651e57e4bed44cf4827883483472501313139f515068015a949e6c1df641431bbda51a0448f57e8210a SHA512 3119779bde55879cc88056259db02233ac57e55f7c8b6d1fd7b6ec348b30f5677df0370987c66b9738cd2cdb3ddb3d8250366318482d80a3530f5bffdcbf7465 MISC metadata.xml 237 BLAKE2B f22c3926ba75c18fce7667217807f3710a315b12b1341622c949e7bc0056cd1cb403ea6c66d838675f3cb5dcd53d2fc4ec71425ec3f96aaffb94b70b73e99320 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f diff --git a/dev-util/makeheaders/makeheaders-0_p4.ebuild b/dev-util/makeheaders/makeheaders-0_p4.ebuild index c7433fcbeb3b..0d4b0aa383c8 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 } |