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

Contents of /sci-libs/libint/libint-2.0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 29 17:38:52 2015 UTC (4 years, 11 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -1 lines
Add missing dependency on gmp, bug #556244

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libint/libint-2.0.5.ebuild,v 1.1 2015/05/07 07:10:49 jlec Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=true
8
9 inherit autotools-utils fortran-2 toolchain-funcs versionator
10
11 MY_PV="$(replace_all_version_separators -)"
12
13 DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions"
14 HOMEPAGE="https://github.com/evaleev/libint"
15 SRC_URI="https://github.com/evaleev/libint/archive/release-2-0-5.tar.gz -> ${P}.tar.gz"
16
17 SLOT="0"
18 LICENSE="GPL-2"
19 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
20 IUSE="static-libs doc"
21
22 S="${WORKDIR}/${PN}-release-${MY_PV}"
23
24 DEPEND="
25 dev-libs/boost
26 dev-libs/gmp[cxx]
27 doc? (
28 dev-texlive/texlive-latex
29 dev-tex/latex2html
30 )"
31
32 AUTOTOOLS_IN_SOURCE_BUILD=1
33
34 src_configure() {
35 local myeconfargs=(
36 --with-cxx=$(tc-getCXX)
37 --with-cxx-optflags="${CXXFLAGS}"
38 --with-cxxgen-optflags="${CXXFLAGS}"
39 --with-cxxdepend=$(tc-getCXX)
40 --with-ranlib=$(tc-getRANLIB)
41 --with-ar=$(tc-getAR)
42 --with-ld=$(tc-getLD)
43 )
44 autotools-utils_src_configure
45 }
46
47 src_compile() {
48 emake LDFLAGS="${LDFLAGS}"
49
50 use doc && emake html pdf
51 }
52
53 src_install() {
54 einstall
55
56 if use doc; then
57 DOCS=( doc/progman/progman.pdf )
58 HTML_DOCS=( doc/progman/progman/*.{html,png,css} )
59 einstalldocs
60 fi
61 }

  ViewVC Help
Powered by ViewVC 1.1.20