diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-03 21:11:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-03 21:11:18 +0000 |
commit | 8ba493f5439ffec0ed21707f660602b7bd80bbbf (patch) | |
tree | a103c65926b64945179cd7435d608e9c761ebaf3 /dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild | |
parent | dc50ce612ba7a32ca77479875798989da2885437 (diff) |
gentoo auto-resync : 03:02:2023 - 21:11:18
Diffstat (limited to 'dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild')
-rw-r--r-- | dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild deleted file mode 100644 index d053766be68b..000000000000 --- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9,10} ) -ADA_COMPAT=( gnat_2021 ) -inherit ada multiprocessing python-single-r1 - -MYP=${P}-${PV}0518-19B15-src -ADAMIRROR=https://community.download.adacore.com/v1 -ID=d93655ced17f15c5f376b6861825df3f9c183980 - -DESCRIPTION="GNAT Component Collection" -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="gmp iconv python readline +shared static-libs static-pic syslog" - -RDEPEND="${PYTHON_DEPS} - ${ADA_DEPS} - dev-ada/gnatcoll-core[${ADA_USEDEP},shared?,static-libs?,static-pic?] - gmp? ( dev-libs/gmp:* )" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - ${ADA_REQUIRED_USE}" - -S="${WORKDIR}"/${MYP} - -QA_EXECSTACK=usr/lib/gnatcoll_readline.*/libgnatcoll_readline.* - -pkg_setup() { - python-single-r1_pkg_setup - ada_pkg_setup -} - -src_prepare() { - rm -rf python || die - mv python3 python || die - default -} - -src_compile() { - build () { - gprbuild -j$(makeopts_jobs) -m -p -v \ - -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \ - -XLIBRARY_TYPE=$2 -P $1/gnatcoll_$1.gpr -XBUILD="PROD" \ - -XGNATCOLL_ICONV_OPT= -XGNATCOLL_PYTHON_CFLAGS="-I$(python_get_includedir)" \ - -XGNATCOLL_PYTHON_LIBS=$(python_get_library_path) \ - -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed" - } - for kind in shared static-libs static-pic ; do - if use $kind; then - lib=${kind%-libs} - lib=${lib/shared/relocatable} - for dir in gmp iconv python readline syslog ; do - if use $dir; then - build $dir $lib - fi - done - fi - done -} - -src_install() { - build () { - gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr -XLIBRARY_TYPE=$2 \ - -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \ - --build-var=LIBRARY_TYPE \ - -XGNATCOLL_ICONV_OPT= -P $1/gnatcoll_$1.gpr --build-name=$2 - } - for kind in shared static-libs static-pic ; do - if use $kind; then - lib=${kind%-libs} - lib=${lib/shared/relocatable} - for dir in gmp iconv python readline syslog ; do - if use $dir; then - build $dir $lib - fi - done - fi - done - rm -rf "${D}"/usr/share/gpr/manifests - einstalldocs -} |