summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2022-11-25 14:20:44 +0600
committerViorel Munteanu <ceamac@gentoo.org>2022-12-13 20:28:29 +0200
commitf108551b0c1f39744cef0deab1b5184b7cd2d2de (patch)
treebfcb58f338626da938378b047e8546ffa0cc06f4 /dev-util/makeheaders
parentmedia-plugins/gst-plugins-srtp: Stabilize 1.20.4 arm64, #884731 (diff)
downloadgentoo-f108551b0c1f39744cef0deab1b5184b7cd2d2de.tar.gz
gentoo-f108551b0c1f39744cef0deab1b5184b7cd2d2de.tar.bz2
gentoo-f108551b0c1f39744cef0deab1b5184b7cd2d2de.zip
dev-util/makeheaders: add 0_p20220411
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'dev-util/makeheaders')
-rw-r--r--dev-util/makeheaders/Manifest2
-rw-r--r--dev-util/makeheaders/makeheaders-0_p20220411.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/makeheaders/Manifest b/dev-util/makeheaders/Manifest
index e79f670e983d..a47251357b1d 100644
--- a/dev-util/makeheaders/Manifest
+++ b/dev-util/makeheaders/Manifest
@@ -1,2 +1,4 @@
+DIST makeheaders-0_p20220411.c 100587 BLAKE2B eeed8554a444573ae66c479460c3491d1f23d1982c8b5656eefe78084d3a550a85285cc58fd3374af30f5e8803bbf7690d643346a3fdf1c98dbb7d2b5224bd65 SHA512 1add4012f1307b6273cd46f7a6ef10d1d003f6ce214521e05ffc232d90991e6596481110aa582e104c09be67cfdc94776ed85458b6b9bcf9bf6c5d633371d6a4
+DIST makeheaders-0_p20220411.html 40335 BLAKE2B 6eec5080226d7759e8bdf97b2238fb33e85700d29b0b539fcb797fa219d9d00461aafdabf2642e2cf1a622cf633cf889d71381bb3342113736ddfdafca3582de SHA512 6cccd5388e8af6f814d735c643abb231dab21a16799fba080858b15885a77b99bf37a5c7bac72958bbfcacea2ed54635ccc6323f5c7d47e2a1a73fffa8952504
DIST makeheaders-0_p4.c 99253 BLAKE2B 103d4b1d75fb3cb38fdf97dcf051f263c1ee7c08f8d2b4b791994948f0323cbf69fc66840464591ea8596c7ab6857eaf9ddd56bb69f2f035f57d99fbf5444992 SHA512 d46a23a4ee1436f1bad2f0d26e7de9be47a84b0c163430bdaf360c4c6a94b84949f2a427683265898312e56e9dda316992857e488202aa74afcc3939fa712a35
DIST makeheaders-0_p4.html 35481 BLAKE2B a5e4e4804b612eb164f46cb8ef664952b3f1819a2915e2e905b58e6719cbc7480e4fd2f81f1d1d91b2029b15ed0c9b2c799ae99538b8ad77d49d3606d91b50d5 SHA512 903437c9d4b280af1cb9d5e29df150fb347ef9c62ec146daecfb5c4093554531c206bc73885cc7aacea1b7c24fb473e240a03a31c139caf6bc0e42901b518597
diff --git a/dev-util/makeheaders/makeheaders-0_p20220411.ebuild b/dev-util/makeheaders/makeheaders-0_p20220411.ebuild
new file mode 100644
index 000000000000..f0e3367f1df4
--- /dev/null
+++ b/dev-util/makeheaders/makeheaders-0_p20220411.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+# https://fossil-scm.org/home/finfo?name=tools/makeheaders.c
+ARTIFACT_C="ca90c1e2460d79e48f97c2aac60a39bcb8024e394de7cff5164c9dcbc96ce529"
+# https://fossil-scm.org/home/finfo?name=tools/makeheaders.html
+ARTIFACT_HTML="262696252dc50250c896c90cc240dcd946614b9c7727902aa7606640507e9231"
+
+DESCRIPTION="Tool that automatically generates .h files for a C or C++ programming project"
+HOMEPAGE="https://www.hwaci.com/sw/mkhdr/"
+
+SRC_URI="
+ https://fossil-scm.org/home/raw/${ARTIFACT_C}?at=makeheaders.c -> makeheaders-${PV}.c
+ https://fossil-scm.org/home/raw/${ARTIFACT_HTML}?at=makeheaders.html -> makeheaders-${PV}.html
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+HTML_DOCS=( "makeheaders.html" )
+
+src_unpack() {
+ mkdir "${S}" || die
+ cp "${DISTDIR}"/makeheaders-${PV}.c "${S}/makeheaders.c" || die
+ cp "${DISTDIR}"/makeheaders-${PV}.html "${S}/makeheaders.html" || die
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o makeheaders makeheaders.c || die
+}
+
+src_install() {
+ dobin makeheaders
+
+ einstalldocs
+}