blob: c5da744cc7bac5522c8bd5690dc1def0f3c6c8d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/libint/libint-1.1.2.ebuild,v 1.2 2006/07/09 07:11:27 dberkholz Exp $
inherit eutils
DESCRIPTION="Used to evaluate traditional and novel two-body matrix elements (integrals) over Cartesian Gaussian functions"
HOMEPAGE="http://www.ccmst.gatech.edu/evaleev/libint/"
SRC_URI="http://www.ccmst.gatech.edu/evaleev/libint/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/dont-append-mcpu.patch
}
src_compile() {
sed -i \
-e "s:^COPTIONS_OPT=.*:COPTIONS_OPT=\"${CFLAGS}\":g" \
-e "s:^CXXOPTIONS_OPT=.*:CXXOPTIONS_OPT=\"${CXXFLAGS}\":g" \
${S}/configure
econf \
--enable-shared \
--enable-deriv \
--enable-r12 \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
#make DESTDIR=${D} install || die
einstall || die
}
|