summaryrefslogtreecommitdiff
path: root/dev-ada/gnatmem
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ada/gnatmem')
-rw-r--r--dev-ada/gnatmem/Manifest1
-rw-r--r--dev-ada/gnatmem/gnatmem-2021-r1.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-ada/gnatmem/Manifest b/dev-ada/gnatmem/Manifest
index d34b79d32c87..ebaf094046dc 100644
--- a/dev-ada/gnatmem/Manifest
+++ b/dev-ada/gnatmem/Manifest
@@ -1,4 +1,5 @@
AUX gnatmem-2018-gentoo.patch 2998 BLAKE2B ef2afa9a7ef200adb3729ac6e3bf80b6a4f92cae8c560805c741189917e454a391a6cc09271491110fd2e0c7c95cef672f807a64acf247cea2996fb2bbc71c31 SHA512 259915b1b9c5a586609c0e2801df3239f859871a194da5cd53ad323020832f5e2f37419bbb6f7e3c1d6a0c5d4a2bcf7b709db220b190abe84faa54463f43d199
DIST gnatmem-2021-20210518-19F7B-src.tar.gz 81001 BLAKE2B 618c5e0fc300e1ea53456b776372a06603ce6b71269ddbed8cbd0bceefd957f726ceac8a045f12f2a50e0f4ebdf47d4c60ef65716ba4bcc9eb6fc220a3670bff SHA512 ef938cb7c2b6cda12a68a874218d47acdee214530534114da6490475dd08e21dc4043c9a3f164074a8010e50d0a9c91b4fbabffdc8329700629407644fec46d4
+EBUILD gnatmem-2021-r1.ebuild 1032 BLAKE2B 589b4ef7ddfa040a77d7941ec8a82c03ade3fabb2aa984a3c84c7698ec736448a4e414b5a70792647af195b01666fd466bb80197d58681950ed8a05d029a1566 SHA512 7b73a2edd355778f40f0e873768fee355f52465657dd9a854fbe4e0ead7709c687e2e338c780149de8f7aba873178ecb86e91c0530790f7f5773e682a7fef74d
EBUILD gnatmem-2021.ebuild 1019 BLAKE2B b01dc01259f1aa615569312622dd5e13428d28fc324a7c043ccf54e10eb51b9e41b899a9084561a4f4ff3d6b125087a02ab9cdee4cfa6671938ebe225351fa4b SHA512 821e82874b03b9361dec48db4f642a3b9a4c685374ae36dff12106abdc3c6cce233b21ba92bcbec7bd73b0a012c0beccb80e39194744780ee79a2c10c11d29bb
MISC metadata.xml 956 BLAKE2B 07881059585f6c26518d41c31bcbf7c271f7509ab2592bf46f1dff8817514c32521fa88d2aa901704ab5c494a1e072e0bab96517375687a1caf30310e526b7a9 SHA512 292041c6876b22abdecee29b525fbb9ccf2b9069e4c4dd5a22a051bdb69502b905951f235bb5423d834e70df2100153cf5e97c17aa855a12ad5dcf588ff33d8b
diff --git a/dev-ada/gnatmem/gnatmem-2021-r1.ebuild b/dev-ada/gnatmem/gnatmem-2021-r1.ebuild
new file mode 100644
index 000000000000..c59e1d1f75a3
--- /dev/null
+++ b/dev-ada/gnatmem/gnatmem-2021-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_202{0..1} gcc_12_2_0 )
+inherit ada multiprocessing autotools
+
+MYP=${P}-${PV}0518-19F7B-src
+ID=3ddb98c0c8854dc7631bebd673ac7bc53038d4b7
+ADAMIRROR=https://community.download.adacore.com/v1
+
+DESCRIPTION="Monitors dynamic allocation and deallocation activity in a program"
+HOMEPAGE="http://libre.adacore.com/"
+SRC_URI="${ADAMIRROR}/${ID}?filename=${MYP}.tar.gz -> ${MYP}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="${ADA_DEPS}"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[${ADA_USEDEP}]
+ sys-libs/binutils-libs:="
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MYP}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2018-gentoo.patch
+)
+
+src_prepare() {
+ default
+ mv configure.in configure.ac
+ eautoreconf
+}
+
+src_compile() {
+ gprbuild -v -p -Pgnatmem.gpr -j$(makeopts_jobs) \
+ -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+ -largs ${LDFLAGS} \
+ || die
+}
+
+src_install() {
+ dobin obj/gnatmem
+}