dev-ada/libadalang-tools: drop 24.0.0-r2

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-03-06 19:18:38 +01:00
parent 1a46496b73
commit 1e733515bd
2 changed files with 0 additions and 72 deletions

View File

@@ -1,2 +1 @@
DIST libadalang-tools-24.0.0.tar.gz 1083580 BLAKE2B e3d7cb94500afaebb00ba3f727b903cfd6ea57b02efccbf0dc61ef0d625dd06364b67a94c236c4cc8e4eee955e1767b0eb73122895a8f3edfb05c5fea57e18d8 SHA512 982fefa454108a604a67a0ec0d33fc420ccbbc4c03f01eb1cfbfe57cb51ca3bf13eef465775dab0843b5573663150e6d185b3a3887cc1cbcc5a353214842f223
DIST libadalang-tools-25.0.0.tar.gz 1141724 BLAKE2B b3555f18f38dcd4f907745465d1c4d11dcf3d532350c91cf8dbecb1e568691ea3ae72042aa073ed198718cabf6b0e3798f396f7344de8b3afa915e01de49d16d SHA512 f546b02879daaea4ad0fea7b3e3ee8be2f9b435223dacade7bf79b7c106f6b2b956683b3ecd028193bf095530df11bb5224596cedd2e091eca2181aa3828859a

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ADA_COMPAT=( gcc_12 gcc_13 )
inherit ada multiprocessing
DESCRIPTION="Libadalang-based tools: gnatpp, gnatmetric and gnatstub"
HOMEPAGE="https://www.adacore.com/community"
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"
IUSE="+shared static-libs static-pic"
RESTRICT="test"
REQUIRED_USE="|| ( shared static-libs static-pic )
${ADA_REQUIRED_USE}"
RDEPEND="${ADA_DEPS}
dev-ada/templates-parser[${ADA_USEDEP},shared?,static-libs?]
>=dev-ada/VSS-24.0.0[${ADA_USEDEP},shared?,static-libs?,static-pic?]
dev-ada/libadalang:=[${ADA_USEDEP},static-libs?,static-pic?]"
DEPEND="${RDEPEND}"
BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
src_compile() {
build () {
gprbuild -v -k -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \
-P src/lal_tools.gpr -p -j$(makeopts_jobs) \
-cargs:Ada ${ADAFLAGS} || die
gprbuild -v -k -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \
-XBUILD_MODE=prod -XLALTOOLS_SET=all \
-P src/build.gpr -p -j$(makeopts_jobs) \
-cargs:Ada ${ADAFLAGS} || die
}
if use shared; then
build relocatable
fi
if use static-libs; then
build static
fi
if use static-pic; then
build static-pic
fi
}
src_install() {
build () {
gprinstall -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \
--prefix="${D}"/usr --sources-subdir=include/lal_tools \
--build-name=$1 --build-var=LIBRARY_TYPE \
--build-var=LAL_TOOLS_BUILD \
-P src/lal_tools.gpr -p -f || die
}
if use shared; then
build relocatable
fi
if use static-libs; then
build static
fi
if use static-pic; then
build static-pic
fi
dobin bin/gnat{metric,pp,stub,test}
einstalldocs
}