diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2019-08-28 18:34:56 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2019-08-28 18:34:56 +0200 |
commit | b30b0ee52a9d5c76a68a5eae82d4984bc740890b (patch) | |
tree | 7ac303f80220cc558ccca73fcba227054c27432b /dev-ada/gnatcoll-db | |
parent | dev-ada/gnatcoll-bindings: stable 2018-r1 (diff) | |
download | gentoo-b30b0ee52a9d5c76a68a5eae82d4984bc740890b.tar.gz gentoo-b30b0ee52a9d5c76a68a5eae82d4984bc740890b.tar.bz2 gentoo-b30b0ee52a9d5c76a68a5eae82d4984bc740890b.zip |
dev-ada/gnatcoll-db: stable 2018-r1
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gnatcoll-db')
-rw-r--r-- | dev-ada/gnatcoll-db/gnatcoll-db-2018-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild | 101 |
2 files changed, 1 insertions, 102 deletions
diff --git a/dev-ada/gnatcoll-db/gnatcoll-db-2018-r1.ebuild b/dev-ada/gnatcoll-db/gnatcoll-db-2018-r1.ebuild index f66fbf0b7c96..af9bc69a22f9 100644 --- a/dev-ada/gnatcoll-db/gnatcoll-db-2018-r1.ebuild +++ b/dev-ada/gnatcoll-db/gnatcoll-db-2018-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0ce9cbc7a4475263382be6 LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019 gnatcoll_db2ada gnatinspect postgres +shared sql sqlite static-libs static-pic xref" diff --git a/dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild b/dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild deleted file mode 100644 index bce7b5b49aef..000000000000 --- a/dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) -inherit multilib multiprocessing autotools python-single-r1 - -MYP=${PN}-gpl-${PV} - -DESCRIPTION="GNAT Component Collection" -HOMEPAGE="http://libre.adacore.com" -SRC_URI="http://mirrors.cdn.adacore.com/art/5b0ce9cbc7a4475263382be6 - -> ${MYP}-src.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="gnat_2016 gnat_2017 +gnat_2018 gnatcoll_db2ada gnatinspect postgres - +shared sql sqlite static-libs static-pic xref" - -RDEPEND="dev-ada/gnatcoll-core[gnat_2016=,gnat_2017=,gnat_2018=] - dev-ada/gnatcoll-core[shared?,static-libs?,static-pic?] - sqlite? ( dev-db/sqlite:3 ) - postgres? ( dev-db/postgresql:* ) - xref? ( - dev-ada/gnatcoll-bindings[iconv,shared?,static-libs?,static-pic?] - dev-ada/gnatcoll-bindings[gnat_2016=,gnat_2017=,gnat_2018=] - )" -DEPEND="${RDEPEND} - dev-ada/gprbuild[gnat_2016=,gnat_2017=,gnat_2018=]" - -REQUIRED_USE="gnatinspect? ( xref ) - xref? ( sqlite ) - sqlite? ( sql ) - gnatcoll_db2ada? ( sql )" - -S="${WORKDIR}"/${MYP}-src - -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) - -src_compile() { - build () { - GPR_PROJECT_PATH="${S}/sql":"${S}/sqlite":"${S}/xref" \ - gprbuild -p -m -v -j$(makeopts_jobs) -XGNATCOLL_SQLITE=external \ - -XGNATCOLL_VERSION=2018 \ - -XBUILD=PROD -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 -XGPR_BUILD=$2 \ - -P $1/$3.gpr \ - -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 sql sqlite xref postgres ; do - if use $dir; then - build $dir $lib gnatcoll_${dir} - fi - done - fi - done - if use shared; then - preflib=relocatable - elif use static-libs; then - preflib=static - else - preflib=static-pic - fi - for dir in gnatinspect gnatcoll_db2ada ; do - if use $dir; then - build $dir $lib ${dir} - fi - done -} - -src_install() { - build () { - GPR_PROJECT_PATH="${D}/usr/share/gpr" gprinstall -p -f \ - -XBUILD=PROD -XGNATCOLL_VERSION=2018 \ - --prefix="${D}"/usr -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 \ - -XGPR_BUILD=$2 --build-name=$2 --build-var=LIBRARY_TYPE \ - -P $1/$3.gpr - } - for kind in shared static-libs static-pic ; do - if use $kind; then - lib=${kind%-libs} - lib=${lib/shared/relocatable} - for dir in sql sqlite xref postgres ; do - if use $dir; then - build $dir $lib gnatcoll_${dir} - fi - done - fi - done - for dir in gnatinspect gnatcoll_db2ada ; do - if use $dir; then - build $dir $lib ${dir} - fi - done - rm -rf "${D}"/usr/share/gpr/manifests - einstalldocs -} |