summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-06 08:20:07 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-10-06 08:20:07 +0200
commit14a95e399889e2cdcd47f0586a13bb426b685748 (patch)
treebd272adc3e651a4c3a4eb9e19c3c4f7d28fff70c /sci-libs/metis
parentsci-libs/qd: drop 2.3.22 (diff)
downloadgentoo-14a95e399889e2cdcd47f0586a13bb426b685748.tar.gz
gentoo-14a95e399889e2cdcd47f0586a13bb426b685748.tar.bz2
gentoo-14a95e399889e2cdcd47f0586a13bb426b685748.zip
sci-libs/metis: drop 5.1.0-r4
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sci-libs/metis')
-rw-r--r--sci-libs/metis/metis-5.1.0-r4.ebuild64
1 files changed, 0 insertions, 64 deletions
diff --git a/sci-libs/metis/metis-5.1.0-r4.ebuild b/sci-libs/metis/metis-5.1.0-r4.ebuild
deleted file mode 100644
index 692b7617144c..000000000000
--- a/sci-libs/metis/metis-5.1.0-r4.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="A package for unstructured serial graph partitioning"
-HOMEPAGE="http://glaros.dtc.umn.edu/gkhome/metis/metis/overview"
-SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="doc openmp"
-
-RDEPEND="!sci-libs/parmetis"
-
-PATCHES=(
- "${FILESDIR}"/${P}-datatype.patch
- "${FILESDIR}"/${P}-shared-GKlib.patch
- "${FILESDIR}"/${P}-multilib.patch
- "${FILESDIR}"/${P}-remove-GKlib-O3.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DGKLIB_PATH="${S}"/GKlib
- -DSHARED=yes
- -DOPENMP=$(usex openmp)
- )
- cmake_src_configure
-}
-
-src_test() {
- cd graphs || die
- local PATH="${BUILD_DIR}"/programs/:${PATH}
-
- ndmetis mdual.graph || die
- mpmetis metis.mesh 2 || die
- gpmetis test.mgraph 4 || die
- gpmetis copter2.graph 4 || die
- graphchk 4elt.graph || die
-}
-
-src_install() {
- cmake_src_install
- dodoc manual/manual.pdf
-
- cat >> "${T}"/metis.pc <<- EOF || die
- prefix=${EPREFIX}/usr
- exec_prefix=\${prefix}
- libdir=\${exec_prefix}/$(get_libdir)
- includedir=\${prefix}/include
-
- Name: METIS
- Description: Software for partioning unstructured graphes and meshes
- Version: ${PV}
- Cflags: -I\${includedir}/metis
- Libs: -L\${libdir} -lmetis
- EOF
- insinto /usr/$(get_libdir)/pkgconfig
- doins "${T}"/metis.pc
-}