summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-10-14 12:38:37 +0000
committerJustin Lecher <jlec@gentoo.org>2013-10-14 12:38:37 +0000
commit2132a7757904f67007a33233d158c3e0b6db6786 (patch)
tree3cf031c784c30dd616e283d8683aafb3809e19e8 /sci-libs/metis
parentAdjust media-libs/mediastreamer dependency, wrt bug #477996 (diff)
downloadgentoo-2-2132a7757904f67007a33233d158c3e0b6db6786.tar.gz
gentoo-2-2132a7757904f67007a33233d158c3e0b6db6786.tar.bz2
gentoo-2-2132a7757904f67007a33233d158c3e0b6db6786.zip
sci-libs/metis: Version BUmp
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/metis')
-rw-r--r--sci-libs/metis/ChangeLog8
-rw-r--r--sci-libs/metis/metadata.xml4
-rw-r--r--sci-libs/metis/metis-5.1.0.ebuild42
3 files changed, 51 insertions, 3 deletions
diff --git a/sci-libs/metis/ChangeLog b/sci-libs/metis/ChangeLog
index eba361660c1a..636c93d7aff0 100644
--- a/sci-libs/metis/ChangeLog
+++ b/sci-libs/metis/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/metis
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/ChangeLog,v 1.31 2013/07/18 13:38:27 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/ChangeLog,v 1.32 2013/10/14 12:38:37 jlec Exp $
+
+*metis-5.1.0 (14 Oct 2013)
+
+ 14 Oct 2013; Justin Lecher <jlec@gentoo.org> +metis-5.1.0.ebuild,
+ metadata.xml:
+ Version BUmp
18 Jul 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
metis-4.0.3.ebuild:
diff --git a/sci-libs/metis/metadata.xml b/sci-libs/metis/metadata.xml
index c009e5b86417..d9a2c8da5731 100644
--- a/sci-libs/metis/metadata.xml
+++ b/sci-libs/metis/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <longdescription lang="en">
+ <herd>sci</herd>
+ <longdescription lang="en">
METIS is a set of serial programs for partitioning graphs,
partitioning finite element meshes, and producing fill reducing
orderings for sparse matrices. The algorithms implemented in METIS are
diff --git a/sci-libs/metis/metis-5.1.0.ebuild b/sci-libs/metis/metis-5.1.0.ebuild
new file mode 100644
index 000000000000..158c99e6de3c
--- /dev/null
+++ b/sci-libs/metis/metis-5.1.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/metis-5.1.0.ebuild,v 1.1 2013/10/14 12:38:37 jlec Exp $
+
+EAPI=5
+
+inherit cmake-utils fortran-2
+
+DESCRIPTION="A package for unstructured serial graph partitioning"
+HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/"
+SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+LICENSE="free-noncomm"
+IUSE="doc openmp static-libs"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ !sci-libs/parmetis"
+
+DOCS=( manual/manual.pdf )
+
+src_prepare() {
+ sed \
+ -e 's:-O3::g' \
+ -i GKlib/GKlibSystem.cmake || die
+
+ sed \
+ -e "s:lib$:$(get_libdir):g" \
+ -i libmetis/CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DGKLIB_PATH="${S}"/GKlib
+ -DSHARED=TRUE
+ $(cmake-utils_use openmp)
+ )
+ cmake-utils_src_configure
+}