summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2011-11-13 20:48:46 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2011-11-13 20:48:46 +0000
commitefc00786e5fa9feb33ce361e23125677d8ce1ba6 (patch)
treee43b29208c119d0b3bfced80d018558fac792787 /dev-libs/igraph
parentarm stable, bug #388763 (diff)
downloadgentoo-2-efc00786e5fa9feb33ce361e23125677d8ce1ba6.tar.gz
gentoo-2-efc00786e5fa9feb33ce361e23125677d8ce1ba6.tar.bz2
gentoo-2-efc00786e5fa9feb33ce361e23125677d8ce1ba6.zip
igraph initail ebuild
(Portage version: 2.1.10.34/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/igraph')
-rw-r--r--dev-libs/igraph/ChangeLog10
-rw-r--r--dev-libs/igraph/igraph-0.5.4.ebuild38
-rw-r--r--dev-libs/igraph/metadata.xml20
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-libs/igraph/ChangeLog b/dev-libs/igraph/ChangeLog
new file mode 100644
index 000000000000..547852c34180
--- /dev/null
+++ b/dev-libs/igraph/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/igraph
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/igraph/ChangeLog,v 1.1 2011/11/13 20:48:46 vadimk Exp $
+
+*igraph-0.5.4 (13 Nov 2011)
+
+ 13 Nov 2011; Vadim Kuznetsov <vadimk@gentoo.org> +igraph-0.5.4.ebuild,
+ +metadata.xml:
+ igraph initial ebuild
+
diff --git a/dev-libs/igraph/igraph-0.5.4.ebuild b/dev-libs/igraph/igraph-0.5.4.ebuild
new file mode 100644
index 000000000000..bad2645a3790
--- /dev/null
+++ b/dev-libs/igraph/igraph-0.5.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/igraph/igraph-0.5.4.ebuild,v 1.1 2011/11/13 20:48:46 vadimk Exp $
+
+EAPI=4
+
+DESCRIPTION="igraph is a free software package for creating and manipulating
+undirected and directed graphs."
+HOMEPAGE="http://igraph.sourceforge.net/index.html"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+arpack +blas debug gmp gprof +lapack static-libs"
+
+DEPEND="
+ gmp? ( dev-libs/gmp )
+ dev-libs/libxml2
+ arpack? ( sci-libs/arpack )
+ blas? ( virtual/blas )
+ lapack? ( virtual/lapack )
+ "
+RDEPEND="${DEPEND}"
+src_configure() {
+ econf \
+ $(use_enable gmp) \
+ $(use_enable gprof profiling) \
+ $(use_enable debug) \
+ --with-external-arpack \
+ --with-external-blas \
+ --with-external-lapack \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete
+}
diff --git a/dev-libs/igraph/metadata.xml b/dev-libs/igraph/metadata.xml
new file mode 100644
index 000000000000..478007d7e71c
--- /dev/null
+++ b/dev-libs/igraph/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>vadimk@gentoo.org</email>
+<name>Vadim Kuznetsov</name>
+</maintainer>
+<longdescription lang="en">
+igraph is a free software package for creating and manipulating undirected and directed graphs. It includes implementations for classic graph theory problems like minimum spanning trees and network flow, and also implements algorithms for some recent network analysis methods, like community structure search.
+</longdescription>
+<use>
+ <flag name='arpack'>Use external sci-libs/arpack</flag>
+ <flag name='blas'>Use external virtual/blas numerical library</flag>
+ <flag name='lapack'>Use external lapack numerical library</flag>
+ <flag name='gmp'>Enables dev-libs/gmp support</flag>
+ <flag name='gprof'>Enables profiling support</flag>
+</use>
+</pkgmetadata>
+