/[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.1 - (hide annotations) (download)
Thu Sep 6 17:08:46 2012 UTC (6 years, 3 months ago) by bicatali
Branch: MAIN
Version bump

(Portage version: 2.2.01.20894-prefix/cvs/Linux x86_64)

1 bicatali 1.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.6.ebuild,v 1.2 2012/06/28 23:39:16 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    
38     src_configure() {
39     local myeconfargs=(
40     $(use_enable openmp)
41     )
42     autotools-utils_src_configure
43     }

  ViewVC Help
Powered by ViewVC 1.1.20