diff options
author | 2017-01-06 11:58:12 +0100 | |
---|---|---|
committer | 2017-01-06 11:58:12 +0100 | |
commit | c83750b1c6bb6583fd9626b8adcd484b7c8952b7 (patch) | |
tree | 194e9bb381f0c8cc4d05ced33b54ed479b3fe520 /sci-libs/wannier90/wannier90-2.0.0.ebuild | |
parent | Version bumps for sci-biology/{aghermann,cnrun} (#717) (diff) | |
download | sci-c83750b1c6bb6583fd9626b8adcd484b7c8952b7.tar.gz sci-c83750b1c6bb6583fd9626b8adcd484b7c8952b7.tar.bz2 sci-c83750b1c6bb6583fd9626b8adcd484b7c8952b7.zip |
Added sci-libs/wannier-2.0.1.1, the Linux didtribution packagers patched version from Launchpad. The favourite of the sci-physics/abinit developers.
Package-Manager: Portage-2.3.2, Repoman-2.3.1
Diffstat (limited to 'sci-libs/wannier90/wannier90-2.0.0.ebuild')
-rw-r--r-- | sci-libs/wannier90/wannier90-2.0.0.ebuild | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/sci-libs/wannier90/wannier90-2.0.0.ebuild b/sci-libs/wannier90/wannier90-2.0.0.ebuild deleted file mode 100644 index 66fde81ec..000000000 --- a/sci-libs/wannier90/wannier90-2.0.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils fortran-2 multilib toolchain-funcs - -DESCRIPTION="Calculates maximally localized Wannier functions (MLWFs)" -HOMEPAGE="http://www.wannier.org/" -SRC_URI="http://wannier.org/code/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" -IUSE="doc examples perl static-libs test" - -RDEPEND=" - virtual/blas - virtual/lapack - perl? ( dev-lang/perl )" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( virtual/latex-base - dev-texlive/texlive-latexextra - )" - -src_configure() { - cat <<- EOF >> "${S}"/make.sys - F90 = $(tc-getFC) - FCOPTS = ${FCFLAGS:- ${FFLAGS:- -O2}} - LDOPTS = ${LDFLAGS} - LIBS = $($(tc-getPKG_CONFIG) --libs blas lapack) - EOF -} - -src_compile() { - emake -j1 wannier - emake -j1 lib - if use doc; then - VARTEXFONTS="${T}/fonts" - emake -j1 doc - fi -} - -src_test() { - einfo "Compare the 'Standard' and 'Current' outputs of this test." - cd tests - emake test - cat wantest.log -} - -src_install() { - dobin wannier90.x - use perl && dobin utility/kmesh.pl - use static-libs && dolib.a libwannier.a - doheader src/obj/*.mod - if use examples; then - insinto /usr/share/${PN} - doins -r examples - fi - use doc && dodoc doc/*.pdf - dodoc README README.install CHANGE.log -} |