/[gentoo-x86]/sci-libs/libint/libint-1.1.4-r1.ebuild
Gentoo

Contents of /sci-libs/libint/libint-1.1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Oct 18 20:26:43 2012 UTC (8 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -4 lines
sci-libs/libint: Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the updated fortran-2.eclass

(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

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/libint/libint-1.1.4-r1.ebuild,v 1.8 2012/08/03 19:48:21 bicatali Exp $
4
5 EAPI=4
6
7 inherit eutils fortran-2 toolchain-funcs
8
9 DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions"
10 HOMEPAGE="http://www.chem.vt.edu/chem-dept/valeev/software/libint/libint.html"
11 SRC_URI="http://www.chem.vt.edu/chem-dept/valeev/software/libint/src/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
16 IUSE="static-libs"
17
18 src_prepare() {
19 epatch "${FILESDIR}"/1.1.4-as-needed.patch
20 }
21
22 src_configure() {
23 econf \
24 --enable-shared \
25 --enable-deriv \
26 --enable-r12 \
27 --with-cc=$(tc-getCC) \
28 --with-cxx=$(tc-getCXX) \
29 --with-cc-optflags="${CFLAGS}" \
30 --with-cxx-optflags="${CXXFLAGS}" \
31 $(use_enable static-libs static)
32 }
33
34 src_compile() {
35 emake LDFLAGS="${LDFLAGS}"
36 }

  ViewVC Help
Powered by ViewVC 1.1.20