diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /sci-libs/p4est | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'sci-libs/p4est')
-rw-r--r-- | sci-libs/p4est/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/p4est/p4est-2.2.ebuild | 118 |
2 files changed, 0 insertions, 119 deletions
diff --git a/sci-libs/p4est/Manifest b/sci-libs/p4est/Manifest index cd216ad42be5..1cdf55bdf802 100644 --- a/sci-libs/p4est/Manifest +++ b/sci-libs/p4est/Manifest @@ -1,6 +1,5 @@ DIST libsc-2.2.tar.gz 311542 BLAKE2B 0879be69208f0964d73cc297a64b158ad88344e876a90dd4bd39c80fc0cf8237f4551cb684dee36e08068fa04644b887ec56230335a9984363055c1248aa6185 SHA512 97953794fdeb985bedb1dc9378f10ed4824446c63762d7813aced3309c2d6b27368c91fecb22587dccdf8b3b42aaaba9e782b739086cf542570360795897ac14 DIST p4est-2.2.tar.gz 1323529 BLAKE2B 262cb8d1ceff1329a71fd302b12c1650e9c099e72a9a93b4abef5822b16a28af0ee1ce9a338c524c2077d4bff83e607e9346f5bb1c660aa9afa8241bb631a637 SHA512 8475e0b6ab1225b22e7538c9c9b227f9aef86f78adf0706065a05f4682618f8f5d3878c18c11b8b13b3912e1de95f40b0ef5f5f5d217c02196993ac07f085299 EBUILD p4est-2.2-r100.ebuild 2915 BLAKE2B 6e0ee7cf6d138405fd861e1e79f826b8c99687b27ec57038453c5c94c1828a638c879c08cdf2640d881e76c3f261b3d4f8104d71bf63e537f196deb1fe463310 SHA512 2b1dcfbc8e9d44d129bc84ac10a4c7df977cb358e9f61a82a73c194ab72fe00c199a124da259776c70cacb19565653fd3f7be6c71c5cf96f66ada9024444a4fa -EBUILD p4est-2.2.ebuild 2840 BLAKE2B db998099af9ee8abce0db818860c1053bcaa29dbff49b41d1012ec1dbb346d0f55661476b9a79281042e653d65c47e3dd692cabdcd40bd2d13ffe380de3b638c SHA512 91b5ca7fac23bc37e0a88ee93988d056aa6b7b48d735ab97e7b8c254d03d3d7cd77e05fe1ad9c4063492162cbec07119480d40d69103ea9f9ae66278064dd558 EBUILD p4est-9999.ebuild 2915 BLAKE2B 2ac4c1cfb81d43042c356a94633109f3b3dd0429985b896e60c92dcc945b4a68469a604cdf94900209aff4e38f26f99b5121c369dcca8c075503890284b570e1 SHA512 e7e16243bcbc9eb850509a64ddf9b40782e5403ecf41506fa4353e48263eef5edcd6839038f44b9dd4781f1053f6776b7996cd90253b175a09a2cdb853de0924 MISC metadata.xml 932 BLAKE2B 25927e97d0092f9fbab6dd7c35f0b2d6b568f1a9790fb1d31917a42946cea1305f9b31aa7cf5773a2b1588b94aab482de2ebfb9aa867af14b8bba2765be2faea SHA512 9c3b0cc4f9f95cf8f4c7d0e250fbc2934e80563ac98b131031d5ba66122a47b9435027f452aeee2df0e917098c7f626513001a30f57952bfaaece21fc9dcc1c1 diff --git a/sci-libs/p4est/p4est-2.2.ebuild b/sci-libs/p4est/p4est-2.2.ebuild deleted file mode 100644 index ea4cbc69d918..000000000000 --- a/sci-libs/p4est/p4est-2.2.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# The build system currently fails with everything newer than 1.11. -WANT_AUTOMAKE=1.11 - -inherit autotools toolchain-funcs eutils - -DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on Forests of Octrees" -HOMEPAGE="http://www.p4est.org/" - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" - EGIT_BRANCH="develop" - SRC_URI="" -else - SRC_URI=" - https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/cburstedde/libsc/archive/v${PV}.tar.gz -> libsc-${PV}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2+" -SLOT="0" - -# TODO petsc -IUSE="debug doc examples mpi openmp romio static-libs threads +vtk-binary" -REQUIRED_USE="romio? ( mpi )" - -RDEPEND=" - ~sci-libs/libsc-${PV}[mpi=,openmp=,romio=,static-libs=,threads=] - dev-lang/lua:0= - sys-apps/util-linux - virtual/blas - virtual/lapack - mpi? ( virtual/mpi[romio=] )" - -DEPEND=" - ${RDEPEND} - sys-devel/automake:1.11 - virtual/pkgconfig" - -DOCS=( AUTHORS NEWS README ) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] && use openmp; then - tc-has-openmp || \ - die "Please select an openmp capable compiler like gcc[openmp]" - fi -} - -src_prepare() { - default - - # Inject libsc to get all parts of the build system... - if ! [[ ${PV} = *9999* ]]; then - rmdir "${S}/sc" || die "rmdir failed" - mv "${WORKDIR}/libsc-${PV}" "${S}/sc" || die "mv failed" - fi - - # Inject a version number into the build system - echo "${PV}" > ${S}/.tarball-version - - AT_M4DIR="${WORKDIR}/${P}/config ${WORKDIR}/${P}/sc/config" - eautoreconf - - sed -i \ - "s/P4EST_SC_DIR\/etc/P4EST_SC_DIR\/share\/libsc/" \ - "${S}"/configure || die "sed failed" - - sed -i \ - "s#lib/libsc\.la#$(get_libdir)/libsc\.so#" \ - "${S}"/configure || die "sed failed" -} - -src_configure() { - # avoid underlinkage - LDFLAGS="${LDFLAGS} -lsc" - - local myeconfargs=( - $(use_enable debug) - $(use_enable mpi) - $(use_enable openmp) - $(use_enable romio mpiio) - $(use_enable static-libs static) - $(use_enable threads pthread) - $(use_enable vtk-binary) - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" - --with-sc="${EPREFIX}/usr" - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - use doc && dodoc -r doc/* - - if use examples - then - docinto examples - dodoc -r example/* - docompress -x /usr/share/doc/${PF}/examples - else - # Remove compiled example binaries in case of -examples: - rm -r "${ED}"/usr/bin || die "rm failed" - fi - - # Fix wrong installation paths: - dodir /usr/share/p4est - mv "${ED}"/usr/share/data "${ED}"/usr/share/p4est/data || die "mv failed" - mv "${ED}"/etc/* "${ED}"/usr/share/p4est || die "mv failed" - rmdir "${ED}"/etc/ || die "rmdir failed" -} |