diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2020-11-14 23:47:13 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-14 23:47:13 +0100 |
commit | 558aa2b1e30d598d3d5f89ab77189fbfe03b2414 (patch) | |
tree | 3c227262d9c022e9a0b9e389a4fc31f797e536d3 /dev-libs/igraph/igraph-0.8.3.ebuild | |
parent | app-crypt/signify: version bump to 30 (diff) | |
download | gentoo-558aa2b1e30d598d3d5f89ab77189fbfe03b2414.tar.gz gentoo-558aa2b1e30d598d3d5f89ab77189fbfe03b2414.tar.bz2 gentoo-558aa2b1e30d598d3d5f89ab77189fbfe03b2414.zip |
dev-libs/igraph: version bump to 0.8.3
Closes: https://github.com/gentoo/gentoo/pull/17749
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/igraph/igraph-0.8.3.ebuild')
-rw-r--r-- | dev-libs/igraph/igraph-0.8.3.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/igraph/igraph-0.8.3.ebuild b/dev-libs/igraph/igraph-0.8.3.ebuild new file mode 100644 index 000000000000..186bd9a51133 --- /dev/null +++ b/dev-libs/igraph/igraph-0.8.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="Creating and manipulating undirected and directed graphs" +HOMEPAGE="http://www.igraph.org/" +SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + dev-libs/gmp:0= + dev-libs/libxml2 + sci-libs/arpack + sci-libs/cxsparse + sci-mathematics/glpk:= + virtual/blas + virtual/lapack" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-0.8.2-unbundle.patch ) + +src_prepare() { + default + rm -r src/lapack optional/glpk src/cs || die + eautoreconf +} + +src_configure() { + # even with --with-external-f2c + # we don't need f2c as none of + # arpack lapack blas + # are internal + tc-export PKG_CONFIG + econf \ + $(use_enable debug) \ + --enable-gmp \ + --disable-static \ + --disable-tls \ + --with-external-arpack \ + --with-external-blas \ + --with-external-lapack \ + --with-external-f2c \ + --with-external-glpk +} + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -delete || die +} |