You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/libint/libint-1.1.4-r1.ebuild

37 lines
965 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/libint/libint-1.1.4-r1.ebuild,v 1.9 2012/10/18 20:26:43 jlec Exp $
EAPI=4
inherit eutils fortran-2 toolchain-funcs
DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions"
HOMEPAGE="http://www.chem.vt.edu/chem-dept/valeev/software/libint/libint.html"
SRC_URI="http://www.chem.vt.edu/chem-dept/valeev/software/libint/src/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
src_prepare() {
epatch "${FILESDIR}"/1.1.4-as-needed.patch
}
src_configure() {
econf \
--enable-shared \
--enable-deriv \
--enable-r12 \
--with-cc=$(tc-getCC) \
--with-cxx=$(tc-getCXX) \
--with-cc-optflags="${CFLAGS}" \
--with-cxx-optflags="${CXXFLAGS}" \
$(use_enable static-libs static)
}
src_compile() {
emake LDFLAGS="${LDFLAGS}"
}