1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 AUTOTOOLS_IN_SOURCE_BUILD=1
10 inherit eutils toolchain-funcs autotools-utils
14 DESCRIPTION="C++ algorithms for specialized vertex coloring problems"
15 LICENSE="GPL-3 LGPL-3"
16 HOMEPAGE="http://www.cscapes.org/coloringpage/software.htm"
17 SRC_URI="http://www.cscapes.org/download/${MYPN}/${MYPN}-${PV}.tar.gz"
20 IUSE="openmp static-libs"
21 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
26 S="${WORKDIR}/${MYPN}-${PV}"
29 "${FILESDIR}"/${PN}-1.0.6-flags.patch
30 "${FILESDIR}"/${PN}-1.0.8-no-bin.patch
34 if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
35 ewarn "You are using gcc without OpenMP"
36 die "Need an OpenMP capable compiler"
44 autotools-utils_src_configure