diff options
Diffstat (limited to 'dev-ada/gnat_util')
-rw-r--r-- | dev-ada/gnat_util/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/gnat_util/gnat_util-2017-r1.ebuild | 60 | ||||
-rw-r--r-- | dev-ada/gnat_util/gnat_util-2019.ebuild | 55 |
3 files changed, 118 insertions, 0 deletions
diff --git a/dev-ada/gnat_util/Manifest b/dev-ada/gnat_util/Manifest index e0a7ff904dc7..3e3cbf9a0281 100644 --- a/dev-ada/gnat_util/Manifest +++ b/dev-ada/gnat_util/Manifest @@ -1,7 +1,10 @@ AUX gnat_util-2017-gentoo.patch 2419 BLAKE2B e8085e6a6cb65c5ffe6054aa360e90042a0dbba2280ecee060a690f8c06104a7224192045bf4b43d2028cb25d9b336e085968169b3d79d10767ce0694ec8b042 SHA512 b1ba5dbbfa86c943143e570a3ac871935e1e6f6104883abc56d1f8b9395d0e2b5e6317356b309497c6fa942e30f25f2f2f1b8cfd7cf801f40b5b1b64b036154b +DIST gnat_util-2019-20190517-18c94-src.tar.gz 906682 BLAKE2B d00ae8b92429f9a7d7476ff6437148a869555fb66435f9355b8ba1ec3d827cd32063e9b64a6862b99a4b26e570e1a1a7b4dfabd67d1aa1b997fb5510e9b43324 SHA512 fbf9114a75f6f794705384a67581f1630460292b8d640c34323c8147bea280bdf2ac8b6097313992d27716f2edc814e587d9396d85d28158ea82ee6002e47425 DIST gnat_util-gpl-2017-src.tar.gz 868496 BLAKE2B d105a59f0533428a4d57b3c81c0818f4d1bd457b113d775fe97f35f7352e03b602ac0e6d7b970e408fb3dd6d30f0d4e60feffccf42dbdc0723a76855b0164ee0 SHA512 d5e48c6fafc870f36094d2dfd5f45f2d5b5729c97596afff7475b7838c1c7c029ef57395ca1011ee74d8a4195597ea1f502732e654a02561a7abc72c8a7d3a6a DIST gnat_util-gpl-2018-src.tar.gz 883945 BLAKE2B e30ee379f4ea9525337b0794d4fc91c80458b3b1dd3d10cbc455c6f566d4d073b6753c171ffbbabd85995717de249cdee7c094b7ba00d752a13e18d0f54da192 SHA512 490b0fa944f4b9fee2a4e78c1181658eb8f95262314455c41beb3ebe9db5dd540090d1f9840357572969721966fa11085dc680f3498dc539631ef3f4dbf56426 +EBUILD gnat_util-2017-r1.ebuild 1430 BLAKE2B 1d5e92937f0ce1196145bf75b2df951201265ed320b62c6c7709a58127e5e3c0f66a77e23e1becfc95bcc370aafb887c4808fd06ad9376ccfa0c9eb90b388856 SHA512 4c675dcac5771a4581c85ef5fdee785155395af8fe7f8943f7e2a7cc6d562d830f6b8f770055ce0da32c098ea15bce41fbc6e7d90d576feb44b565445a77a8c5 EBUILD gnat_util-2017.ebuild 1422 BLAKE2B b69c22ede488f993d0efeb7e66846c33f20f15e10b5344ff02252fb6d037910fc4bc24fd0421a08504164796bc50481bae6109e2d3ebd21a4425ff6d969fc918 SHA512 d3a1ebb59b8a31162349bc40027f5cb36f8e7ed4de8190fc336f4ad930792b8263bd0c47909d909245c348823a57d05bfe26fabce0938c4e292c7b7f70154cd4 EBUILD gnat_util-2018-r1.ebuild 1436 BLAKE2B 4a97460a25fdb8bfcac1eb0783a3fc9111aae0636f01a966a0c58c1298244f23eae1345d56ff72d4b3b6d03ce97e6890b70393d00f00a6347d5ad69e5a9ab652 SHA512 ffcb270b491efdfd0a6cbeb9a3d1c9a3ec1d3c8d7d5b7f3eab9da404789f570611cac0861b77933f67fe2977d9fec5672aea8293d11b66e361650d6f0a2ec6bd EBUILD gnat_util-2018.ebuild 1326 BLAKE2B 336432396b5b98f7d59704f30a7063873651c296eb8a63700025c5c37cda497baf1caac3d4097ed95b99cfb1aee9e8402a1e75293560b7db1e12bb40b1a5aaf6 SHA512 8014d612eb4e2fcd1599aa6262f6afc131ca5dea70b40f096aa22c95a94bcb0ecc38a94c705254085b84c56e89fb21a034f082a5606885f58231dfe37738b247 +EBUILD gnat_util-2019.ebuild 1296 BLAKE2B ee2e6b50d0ea4e324864d4be580607616bb8c556c1d53e4afa154d7662e8b396b2d5fc06521d56145dd63d6f5671de7ade9982b0dbd77319925527ae534e7691 SHA512 b849ce93833c3aecd9ee93ef275e546580c261fc395bc440a215590e5d370c098e485e32ccc96a5fcfc04bb0a8af402541ed8babe07bd39890b8b1406379cef7 MISC metadata.xml 1225 BLAKE2B 17a8dad6ea3eea9f628c65dc437f24f8558b4758cafd4b9b3683ed324afb42d59f082555100388ad8453c0223c1f1a0cbf54df1542a2f3fa8f326989a8591f01 SHA512 f629c1dd7e93c217995923542db690399ba3f2a25774d08cc8e3d9f62fb25d65ec939a80f31a3793fa729ecfe48a357da436d95a94608e2480a92b029661c806 diff --git a/dev-ada/gnat_util/gnat_util-2017-r1.ebuild b/dev-ada/gnat_util/gnat_util-2017-r1.ebuild new file mode 100644 index 000000000000..0d7f07e12a8f --- /dev/null +++ b/dev-ada/gnat_util/gnat_util-2017-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs multiprocessing + +MYP=${PN}-gpl-${PV} + +DESCRIPTION="Provides access to GNAT compiler internals for AdaCore utilities" +HOMEPAGE="http://libre.adacore.com" +SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed037 + -> ${MYP}-src.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnat_2016 +gnat_2017 +shared static-libs static-pic" + +RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 ) + gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )" +DEPEND="${RDEPEND} + dev-ada/gprbuild[gnat_2016(-)?,gnat_2017(-)?]" +REQUIRED_USE="^^ ( gnat_2016 gnat_2017 )" + +S="${WORKDIR}"/${MYP}-src + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_compile() { + if use gnat_2016; then + GCC_PV=4.9.4 + else + GCC_PV=6.3.0 + fi + GNATMAKE=${CHOST}-gnatmake-${GCC_PV} + emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \ + BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources + if use static-libs; then + emake BUILDER="gprbuild -v -j$(makeopts_jobs)" build-static + fi + for kind in shared static-pic; do + if use ${kind}; then + emake BUILDER="gprbuild -v -j$(makeopts_jobs)" \ + build-${kind} + fi + done +} + +src_install() { + if use static-libs; then + emake prefix="${D}"/usr install-static + fi + for kind in shared static-pic; do + if use ${kind}; then + emake prefix="${D}"/usr install-${kind} + fi + done + einstalldocs +} diff --git a/dev-ada/gnat_util/gnat_util-2019.ebuild b/dev-ada/gnat_util/gnat_util-2019.ebuild new file mode 100644 index 000000000000..9620ea727055 --- /dev/null +++ b/dev-ada/gnat_util/gnat_util-2019.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs multiprocessing + +MYP=${P}-20190517 + +DESCRIPTION="Provides access to GNAT compiler internals for AdaCore utilities" +HOMEPAGE="http://libre.adacore.com" +SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8e5031e87a8f1d425090 + -> ${MYP}-18c94-src.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gnat_2019 +shared static-libs static-pic" + +RDEPEND="dev-lang/gnat-gpl:8.3.1" +DEPEND="${RDEPEND} + dev-ada/gprbuild[gnat_2019]" +REQUIRED_USE="gnat_2019" + +S="${WORKDIR}"/${MYP}-194CA-src + +PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch ) + +src_compile() { + GCC_PV=8.3.1 + GNATMAKE=${CHOST}-gnatmake-${GCC_PV} + emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \ + BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources + if use static-libs; then + emake BUILDER="gprbuild -v -j$(makeopts_jobs)" build-static + fi + for kind in shared static-pic; do + if use ${kind}; then + emake BUILDER="gprbuild -v -j$(makeopts_jobs)" \ + build-${kind} + fi + done +} + +src_install() { + if use static-libs; then + emake prefix="${D}"/usr install-static + fi + for kind in shared static-pic; do + if use ${kind}; then + emake prefix="${D}"/usr install-${kind} + fi + done + einstalldocs +} |