summaryrefslogtreecommitdiff
path: root/dev-ada/gnatdoc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-19 01:47:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-19 01:47:04 +0000
commit8bb75334c4b9f91e9f95784e986ed31b4bc11f92 (patch)
tree8abc434e6b84ebe89eee2e7ae9687354cdf8d2c8 /dev-ada/gnatdoc
parentf74222a7b6daa24caf124c66a7ce05c7ea773b08 (diff)
gentoo auto-resync : 19:12:2022 - 01:47:04
Diffstat (limited to 'dev-ada/gnatdoc')
-rw-r--r--dev-ada/gnatdoc/Manifest3
-rw-r--r--dev-ada/gnatdoc/gnatdoc-23.0.0.ebuild46
-rw-r--r--dev-ada/gnatdoc/metadata.xml10
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-ada/gnatdoc/Manifest b/dev-ada/gnatdoc/Manifest
new file mode 100644
index 000000000000..a56414cee6e4
--- /dev/null
+++ b/dev-ada/gnatdoc/Manifest
@@ -0,0 +1,3 @@
+DIST gnatdoc-23.0.0.tar.gz 39607 BLAKE2B 589b3f0a9af9d5067e2017083f834697f7e1995c76be3a84e24409261ec058cd8b1e2487bd78d03d36b6ccab68ec0b294534726f3171b4080ed1d569d0c23be7 SHA512 0e9095ced08086a3be03e20b49ddb436d4efb396001e9d6877b0612adc3d8e2a08f1d5146d07c9acf5dc59a73418f7a3ec3231aba63c9644e6829c387703e6ae
+EBUILD gnatdoc-23.0.0.ebuild 1452 BLAKE2B 66444e78a6d70b82e49c1c9376f60dacb1ed3380dd48f58344260e02e71a6f4e227caa3452ae4260dd384f5a5cd26d6d4db452a7f5df2dc0f7adef3e48aaea02 SHA512 3d4893d1c645008bb235bb6f67d06de692e862712508b8df836b72e746c01331e98900de00558a7b8689011336681edf9d3833b1cbe310abf1ee3f7947df1ed8
+MISC metadata.xml 296 BLAKE2B 4cb07a7a3239fdd3c318b261bca306066e1488dab6f3c0f32bcbbc434d3b584e230a9fa1159e4f1d056ae4cf886cc11425ca2648322b17748b09dccde17927be SHA512 04e74f766efbd81ac7ff2d33932f436f4546074c2b31dc95034fa94a94d5ac6e427b0775a7ea77771d347f571591ca908f80a00657be6801bc40dd69c96ddbc6
diff --git a/dev-ada/gnatdoc/gnatdoc-23.0.0.ebuild b/dev-ada/gnatdoc/gnatdoc-23.0.0.ebuild
new file mode 100644
index 000000000000..7ec64847dec5
--- /dev/null
+++ b/dev-ada/gnatdoc/gnatdoc-23.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
+inherit ada multiprocessing
+
+DESCRIPTION="GNAT Documentation Generation Tool"
+HOMEPAGE="https://github.com/AdaCore/gnatdoc"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${ADA_DEPS}
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared,static-libs,static-pic]
+ dev-ada/gnatcoll-core[${ADA_USEDEP},shared,static-libs,static-pic]
+ dev-ada/gpr[${ADA_USEDEP},shared]
+ dev-ada/gpr-unit-provider[${ADA_USEDEP},shared]
+ dev-ada/langkit[${ADA_USEDEP},shared,static-libs,static-pic]
+ dev-ada/libadalang[${ADA_USEDEP},static-libs,static-pic]
+ dev-ada/libgpr[${ADA_USEDEP},shared,static-libs,static-pic]
+ dev-ada/markdown[${ADA_USEDEP}]
+ dev-ada/VSS[${ADA_USEDEP}]
+ dev-ada/xmlada[${ADA_USEDEP},shared,static-libs,static-pic]"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+src_compile() {
+ gprbuild -v -j$(makeopts_jobs) -p -P gnat/libgnatdoc.gpr \
+ -XLIBRARY_TYPE=relocatable || die
+ gprbuild -v -j$(makeopts_jobs) -p -P gnat/gnatdoc.gpr \
+ -XLIBRARY_TYPE=static || die
+}
+
+src_install() {
+ gprinstall -v -p -P gnat/libgnatdoc.gpr \
+ -XLIBRARY_TYPE=relocatable --prefix="${D}"/usr || die
+ gprinstall -v -p -P gnat/gnatdoc.gpr \
+ -XLIBRARY_TYPE=relocatable --prefix="${D}"/usr || die
+}
diff --git a/dev-ada/gnatdoc/metadata.xml b/dev-ada/gnatdoc/metadata.xml
new file mode 100644
index 000000000000..3e71b8715df6
--- /dev/null
+++ b/dev-ada/gnatdoc/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ada@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">AdaCore/gnatdoc</remote-id>
+ </upstream>
+</pkgmetadata>