diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-03 02:58:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-03 02:58:11 +0000 |
commit | fbe7acf59ebf6dc3f04a6ef108ff3887fa5d7972 (patch) | |
tree | 3669828a2d0c5f7cb1a4bfd79be8032aac558282 /dev-ada/gprbuild | |
parent | 9bc9c4dcc38dc560cff8e5d083d1e5f282ddde98 (diff) |
gentoo auto-resync : 03:12:2022 - 02:58:11
Diffstat (limited to 'dev-ada/gprbuild')
-rw-r--r-- | dev-ada/gprbuild/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/gprbuild/gprbuild-23.0.0.ebuild | 69 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-ada/gprbuild/Manifest b/dev-ada/gprbuild/Manifest index 728d0ade99fb..d58d913f1d1f 100644 --- a/dev-ada/gprbuild/Manifest +++ b/dev-ada/gprbuild/Manifest @@ -5,9 +5,12 @@ AUX gprbuild-22.0.0-ar.patch 468 BLAKE2B 8cf38d8632123623ff369e6bf0d96c9ca37e828 AUX gprbuild-22.0.0-gentoo.patch 2052 BLAKE2B dcab01dcc71bdab78ecf16796c4174401a3d1dd950fb3600b993ed8e3f9606b7bb19e0ef9e30a1e2265a2003154b6ed06de8b1da73bb3279301b21e68a58e7a0 SHA512 6266611075133e580b07044f1fa85a03918254c189d2def36e227996f377b56876085f3e3ff18b443ccb0cc1d67ee69cb478cd90403015ff4d68107870929c0d DIST gprbuild-2021-20210519-19A34-src.tar.gz 2572773 BLAKE2B 42244b96b48a10795812865a430a92a75f3e6a58f384a72e6941945707e712d239f2350e00bd94e6161fb19c6469197547f4ddb565e860ae1d08573b7c667997 SHA512 f2fd10cdf8bd2ae553184104a8d29ddf884329946c55e1a199d49358151e9f1ea25f6566d6e00d15e07d26ea4e84377f4ee137a9af4eecb862fc825dd987ada8 DIST gprbuild-22.0.0.tar.gz 945311 BLAKE2B 4573855667fe6c352a61ac2fd8218619e0c9fa5c5079fe6854988733b7dac27225177f550b58b8d596516e8d3bf9a279f44864fdcb00514ee9e5776415c78f2d SHA512 7e77d9441454670a7b3b14cff97339e654bb82e7321abd9d612a771e1559f3276057e5163b50ca08b6ab77ebb9fcfd36590ba3c9cfd28d07fce43c7673ad254a +DIST gprbuild-23.0.0.tar.gz 952887 BLAKE2B a0de49e838dd41ca927d728dc2e7f23298bb3e7f865146ed6807e1da0f20fe9ce345d972ef93340f1a1fec91082ce14b575ad4e6642d759cb9d696602f291508 SHA512 d3b1af5295c0216eaa93e52b63ca51ceeaea324a3a3f40644e294f9048170f9294335e7e8ee2d77d99d4d9bb359267921632a01d43485d841b6e771143fb47a5 DIST xmlada-2021-20210518-19D50-src.tar.gz 1555951 BLAKE2B 589815d4781471a48d3bb4a12475762cb2ba8f885df8ea774f009c8be9ded41bccc414bb88a2b3d313701b0b2edefcd065fac8a13d208a7bb1679a3467a60c35 SHA512 e2fb1a87cb0cebae842f87412d0ccc8a18b20e5e2c4e3d9ad6ec3a6ae18e4e53c12efd9ea3f2515baa5bfec2b4ddee7808385cc471e3cca9b8c4be3d03093e85 DIST xmlada-22.0.0.tar.gz 1022947 BLAKE2B cea409a45a3b0c8eba48f858278d4e7129eca2e77fa749f5a761e31a81834efba67223f07c99441a9673a8f6de9a608a12cf610225ca5aee7fbde0235d9af1d9 SHA512 7e8a0cab2f4c300fe3b0d31e00d17334e36798430e49868448caa696044964464f558cffba8f35e35a58b097c968322891119b2abd9f210737ca877f0189f32e +DIST xmlada-23.0.0.tar.gz 1053370 BLAKE2B 4edf2244818d72d6fc760f60c8145f373e5445d1d245b20b605e21faa7eeefed7835db87c1fd1239008e75211a572294e1d8e35af16c2ba2631c02d1d3b6f52f SHA512 a0fb2a34ffb5edf408fbdc1a3d68511b5545a5ec8993251ba75d71dd2a197f14e187d08f8febd71cb23bbd694889a99941911386af8468c5eb3b11128555edcb EBUILD gprbuild-2021-r2.ebuild 1970 BLAKE2B 421d19d2943a2449f6e76f1fd5461f4d8af98353ab77320fda82a1348ece6e2056a54e87c0f5dfd99449669fa5c1e96b12d8339b3454b53848f7062fce5fbb12 SHA512 7cbbeafe8b9083ecc85411f38bc2caf7be015d113e52ce5bac6515a191f730a89a755f945e4c04633887658ef02347d6d2cf3d1c972fadf4b24b1d3ec337b403 EBUILD gprbuild-2021-r4.ebuild 2084 BLAKE2B cfcf93cb0c1fd50c27d5408793ae2b27dc1cf002aac513dc87b5fac86050a26d9b8da68ff4534c92ff307505f57e953a40bd8769572d18bf64a8e17812fdace4 SHA512 3a62901b9c99e01fedee3e31042c416f46ffc824941e8d658e2942f89ba2280dbd796b30931e5aedf812c9f892b81c9cb125da2cada3c8eac38390632ffdd244 EBUILD gprbuild-22.0.0-r4.ebuild 1630 BLAKE2B b910f81465689f04079772c899fff9254398f1246bd785bd149fbf7e51b1be8c7759d8b5be5c37f9c64280c3f3f2a65139d4a757cabad7cb3891023f3c2c0fd5 SHA512 e3e8c8b56495368799c7df315dc87ecbdcb3a1bde9cda76d28f679e7e18f938a6d68f7568a97c47b498a14a49bf23b29ec338feb5df13311ed99bd17b6dda4db +EBUILD gprbuild-23.0.0.ebuild 1694 BLAKE2B b9b1b160aaf27e04c6f7f583dc5fa2ac8dfcb2ab62c213a976848fd985d18e9370cfa9f43026a486acae1eb2b94cece6c4ecaa550a452b448cf7e63d89ba3078 SHA512 e54a3f96b463594ae2104bfdf940b900fb1b7ebc1d58c69d2adab833e28e4390e039a206ffbf72a43a7e5c441654936dce3f7176051b8b242e97b36f6acde665 MISC metadata.xml 888 BLAKE2B 635ae939acfcaa26b0ba80341ed90cb02d8c5a2cfa50ca78bbcf19bd3081cf434a51ef1b05547bc80f9174db1aabfad1bde6270c3c08ea4c119684a4af7d5e4e SHA512 65b9e30e2b0d5694fe31c244eeca739327274beda743330edb8f85f050a7f9c809cfb3a115b4f9349f282fc39de36f934354db864669f515da746cd9551b5337 diff --git a/dev-ada/gprbuild/gprbuild-23.0.0.ebuild b/dev-ada/gprbuild/gprbuild-23.0.0.ebuild new file mode 100644 index 000000000000..ed54d7113f35 --- /dev/null +++ b/dev-ada/gprbuild/gprbuild-23.0.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-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 + +XMLADA=xmlada-${PV} + +DESCRIPTION="Multi-Language Management" +HOMEPAGE="http://libre.adacore.com/" +SRC_URI=" + https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + https://github.com/AdaCore/xmlada/archive/refs/tags/v${PV}.tar.gz + -> ${XMLADA}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="${ADA_DEPS} + dev-ada/gprconfig_kb[${ADA_USEDEP}]" +RDEPEND="${DEPEND}" + +REQUIRED_USE="${ADA_REQUIRED_USE}" +PATCHES=( "${FILESDIR}"/${PN}-22.0.0-gentoo.patch ) + +src_prepare() { + default + sed -i \ + -e "s:@GNATBIND@:${GNATBIND}:g" \ + src/gprlib.adb \ + || die + cd gpr/src || die + ln -s gpr-util-put_resource_usage__unix.adb \ + gpr-util-put_resource_usage.adb +} + +bin_progs="gprbuild gprconfig gprclean gprinstall gprname gprls" +lib_progs="gprlib gprbind" + +src_compile() { + local xmlada_src="../${XMLADA}" + inc_flags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \ + -I${xmlada_src}/schema -I${xmlada_src}/unicode \ + -I${xmlada_src}/input_sources" + + gcc -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die + for bin in ${bin_progs}; do + gnatmake -j$(makeopts_jobs) ${inc_flags} $ADAFLAGS ${bin}-main \ + -o ${bin} -largs ${LDFLAGS} gpr_imports.o || die + done + for lib in $lib_progs; do + gnatmake -j$(makeopts_jobs) ${inc_flags} ${lib} $ADAFLAGS \ + -largs ${LDFLAGS} gpr_imports.o || die + done +} + +src_install() { + dobin ${bin_progs} + exeinto /usr/libexec/gprbuild + doexe ${lib_progs} + insinto /usr/share/gpr + doins share/_default.gpr + einstalldocs +} |