/[gentoo-x86]/sci-libs/colpack/colpack-1.0.8.ebuild
Gentoo

Contents of /sci-libs/colpack/colpack-1.0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Sep 7 18:16:38 2012 UTC (6 years, 3 months ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +1 -2 lines
whitespace

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/colpack-1.0.8.ebuild,v 1.1 2012/09/06 17:08:46 bicatali Exp $
4
5 EAPI=4
6
7 AUTOTOOLS_IN_SOURCE_BUILD=1
8 AUTOTOOLS_AUTORECONF=1
9
10 inherit eutils toolchain-funcs autotools-utils
11
12 MYPN=ColPack
13
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"
18
19 SLOT="0"
20 IUSE="openmp static-libs"
21 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
22
23 RDEPEND=""
24 DEPEND="${RDEPEND}"
25
26 S="${WORKDIR}/${MYPN}-${PV}"
27
28 PATCHES=( "${FILESDIR}"/${PN}-1.0.6-flags.patch )
29
30 pkg_setup() {
31 if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
32 ewarn "You are using gcc without OpenMP"
33 die "Need an OpenMP capable compiler"
34 fi
35 }
36
37 src_configure() {
38 local myeconfargs=(
39 $(use_enable openmp)
40 )
41 autotools-utils_src_configure
42 }

  ViewVC Help
Powered by ViewVC 1.1.20