public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Honza Macháček" <Hloupy.Honza@centrum.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/atompaw/
Date: Fri, 25 Feb 2011 05:20:35 +0000 (UTC)	[thread overview]
Message-ID: <358522f1ad3cd111c80e38d3f5e72dc81e7a7fcb.honza_machacek@gentoo> (raw)

commit:     358522f1ad3cd111c80e38d3f5e72dc81e7a7fcb
Author:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Fri Feb 25 05:18:11 2011 +0000
Commit:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Fri Feb 25 05:18:11 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=358522f1

A program to generate atomic data for the Projector Augmented Wave method of DFT calculations. Added to support sci-physics/abinit

---
 sci-physics/atompaw/ChangeLog            |   11 +++++
 sci-physics/atompaw/atompaw-3.0.1.ebuild |   60 ++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+), 0 deletions(-)

diff --git a/sci-physics/atompaw/ChangeLog b/sci-physics/atompaw/ChangeLog
new file mode 100644
index 0000000..4c27386
--- /dev/null
+++ b/sci-physics/atompaw/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-physics/atompaw
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*atompaw-3.0.1 (25 Feb 2011)
+
+  25 Feb 2011; Honza Macháček <Hloupy.Honza@centrum.cz>
+  +atompaw-3.0.1.ebuild:
+  A program to generate atomic data for the Projector Augmented Wave method of
+  DFT calculations. Added to support sci-physics/abinit
+

diff --git a/sci-physics/atompaw/atompaw-3.0.1.ebuild b/sci-physics/atompaw/atompaw-3.0.1.ebuild
new file mode 100644
index 0000000..51a4d99
--- /dev/null
+++ b/sci-physics/atompaw/atompaw-3.0.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=3
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="PAW atomic data generator"
+HOMEPAGE="http://www.wfu.edu/~natalie/papers/pwpaw/man.html"
+IUSE="doc libxc"
+SRC_URI="http://www.wfu.edu/~natalie/papers/pwpaw/${P}.tar.gz
+	doc? ( http://www.wfu.edu/~natalie/papers/pwpaw/atompaw.pdf
+		http://www.wfu.edu/~natalie/papers/pwpaw/atompaw-usersguide.pdf
+		http://www.wfu.edu/~natalie/papers/pwpaw/notes/atompaw/atompawEqns.pdf )"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RDEPEND="virtual/lapack
+	virtual/blas
+	libxc? ( sci-libs/libxc[fortran] )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig"
+
+src_unpack() {
+	unpack ${P}.tar.gz
+	if use doc; then
+		cp ${DISTDIR}/atompaw.pdf ${S}/
+		cp ${DISTDIR}/atompaw-usersguide.pdf ${S}/
+		cp ${DISTDIR}/atompawEqns.pdf ${S}/
+	fi
+}
+
+src_configure() {
+	local modules="-I/usr/$(get_libdir)/finclude"
+	econf $(use_enable libxc) \
+	--with-linalg-flavor=atlas \
+	--with-linalg-libs="$(pkg-config --libs lapack)" \
+	--with-libxc-incs="${modules}" \
+	--with-libxc-libs="${libs} -lxc" \
+	FC="$(tc-getFC)" FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}" \
+	CC="$(tc-getCC)" LDFLAGS="${LDFLAGS:- ${CFLAGS:- -O2}}"
+}
+
+src_compile() {
+	emake -j1 || die "Make failed"
+}
+
+src_test() {
+	emake check || die "Test failed"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "make install failed"
+
+	dodoc README || die "dodoc failed"
+
+	if use doc; then
+		dodoc atompaw.pdf atompaw-usersguide.pdf atompawEqns.pdf || die "PDF doc failed"
+	fi
+}



             reply	other threads:[~2011-02-25  5:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-25  5:20 Honza Macháček [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-21 11:54 [gentoo-commits] proj/sci:master commit in: sci-physics/atompaw/ Justin Lecher
2012-05-22 19:43 Justin Lecher
2013-02-22 10:15 Justin Lecher
2016-06-07  8:52 Honza Macháček
2020-12-11 18:55 Aisha Tammy
2021-01-19 17:02 Andrew Ammerlaan
2021-01-28 16:08 Andrew Ammerlaan
2021-01-28 16:30 Andrew Ammerlaan
2021-02-01 14:52 Andrew Ammerlaan
2021-12-16 10:57 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=358522f1ad3cd111c80e38d3f5e72dc81e7a7fcb.honza_machacek@gentoo \
    --to=hloupy.honza@centrum.cz \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox