aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-21 13:03:31 +0200
committerJustin Lecher <jlec@gentoo.org>2011-06-21 13:03:31 +0200
commit69d3b59935eea538d42e5b233871f681a6696e45 (patch)
tree4c98add5069c0bd4837e471536aa3b34655a1cc2 /sci-libs/bigdft/bigdft-1.2.0.2.ebuild
parentAdded fortran-2.eclass support (diff)
downloadsci-69d3b59935eea538d42e5b233871f681a6696e45.tar.gz
sci-69d3b59935eea538d42e5b233871f681a6696e45.tar.bz2
sci-69d3b59935eea538d42e5b233871f681a6696e45.zip
Added fortran-2.eclass support
(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-libs/bigdft/bigdft-1.2.0.2.ebuild')
-rw-r--r--sci-libs/bigdft/bigdft-1.2.0.2.ebuild31
1 files changed, 17 insertions, 14 deletions
diff --git a/sci-libs/bigdft/bigdft-1.2.0.2.ebuild b/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
index 55d34f59e..1fdf1d339 100644
--- a/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
+++ b/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
@@ -1,36 +1,40 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# $Header: $
-EAPI="3"
+EAPI=3
-inherit eutils toolchain-funcs
+inherit eutils fortran-2 toolchain-funcs
DESCRIPTION="A DFT electronic structure code using a wavelet basis set"
HOMEPAGE="http://inac.cea.fr/L_Sim/BigDFT/"
-SRC_URI="http://inac.cea.fr/L_Sim/BigDFT/${P}.tar.gz
- http://inac.cea.fr/L_Sim/BigDFT/${PN}-1.3.2.tar.gz"
+SRC_URI="
+ http://inac.cea.fr/L_Sim/BigDFT/${P}.tar.gz
+ http://inac.cea.fr/L_Sim/BigDFT/${PN}-1.3.2.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda doc mpi test"
-RDEPEND="virtual/blas
+RDEPEND="
+ =sci-libs/libxc-1.0[fortran]
+ virtual/blas
virtual/lapack
mpi? ( virtual/mpi )
- cuda? ( dev-util/nvidia-cuda-sdk )
- =sci-libs/libxc-1.0[fortran]"
+ cuda? ( dev-util/nvidia-cuda-sdk )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=sys-devel/autoconf-2.59
doc? ( virtual/latex-base )"
src_prepare() {
- epatch ${FILESDIR}/${P}-0001.patch
- epatch ${FILESDIR}/${P}-0002.patch
- epatch ${FILESDIR}/${P}-0003.patch
- epatch ${FILESDIR}/${P}-0004.patch
- epatch ${FILESDIR}/${P}-testH.patch
+ epatch \
+ "${FILESDIR}"/${P}-0001.patch \
+ "${FILESDIR}"/${P}-0002.patch \
+ "${FILESDIR}"/${P}-0003.patch \
+ "${FILESDIR}"/${P}-0004.patch \
+ "${FILESDIR}"/${P}-testH.patch
rm -r src/PSolver/ABINIT-common
mv ../${PN}-1.3.2/src/PSolver/ABINIT-common src/PSolver/
@@ -83,6 +87,5 @@ src_test() {
src_install() {
emake HAVE_LIBXC=1 DESTDIR="${D}" install || die "install failed"
- dodoc README INSTALL COPYING ChangeLog AUTHORS NEWS || die "dodoc failed"
+ dodoc README INSTALL ChangeLog AUTHORS NEWS || die "dodoc failed"
}
-