aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHonza Macháček <Hloupy.Honza@centrum.cz>2011-12-14 14:24:36 +0100
committerHonza Macháček <Hloupy.Honza@centrum.cz>2011-12-14 14:24:36 +0100
commit3f27ec4bd917aa7c310ded708f1aaa041ba4bb61 (patch)
treecba4b1855b670661ef544e30998d661010e870bf /sci-libs/libxc
parentmedia-gfx/librecad: version bump to 2.0.0_alpha1 (diff)
downloadsci-3f27ec4bd917aa7c310ded708f1aaa041ba4bb61.tar.gz
sci-3f27ec4bd917aa7c310ded708f1aaa041ba4bb61.tar.bz2
sci-3f27ec4bd917aa7c310ded708f1aaa041ba4bb61.zip
sci-physics/abinit updated to 6.10.3, sci-libs/bigdft to 1.2.0.5, and sci-libs/libxc to 1.1.0
Diffstat (limited to 'sci-libs/libxc')
-rw-r--r--sci-libs/libxc/ChangeLog5
-rw-r--r--sci-libs/libxc/Manifest14
-rw-r--r--sci-libs/libxc/libxc-1.1.0.ebuild50
3 files changed, 58 insertions, 11 deletions
diff --git a/sci-libs/libxc/ChangeLog b/sci-libs/libxc/ChangeLog
index 3b4cab98e..efe5b5583 100644
--- a/sci-libs/libxc/ChangeLog
+++ b/sci-libs/libxc/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*libxc-1.1.0 (14 Dec 2011)
+
+ 14 Dec 2011; Honza Macháček <Hloupy.Honza@centrum.cz> +libxc-1.1.0.ebuild:
+ Version bump to 1.1.0
+
21 Jun 2011; Justin Lecher <jlec@gentoo.org> libxc-1.0.ebuild,
libxc-9999.ebuild:
Added fortran-2.eclass support
diff --git a/sci-libs/libxc/Manifest b/sci-libs/libxc/Manifest
index a05ee2553..5ca20a361 100644
--- a/sci-libs/libxc/Manifest
+++ b/sci-libs/libxc/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST libxc-1.0.tar.gz 502757 RMD160 0e48a6ab484d1c9f6e305dfc9c860e46c01aa330 SHA1 48a54c718bfb8784bf5e6aadf82d62ffb70bc5a2 SHA256 890544853fc8ff81d895fc973b5f1ed293f957b035301aad2d6caea1ce1efdaa
+DIST libxc-1.1.0.tar.gz 543168 RMD160 a74ee2d9325f66e66711f6a121caff13342d4276 SHA1 7cafa212d38b5adafc33cf5a4ee0ac2e29c3178c SHA256 b75fb2a73a9e2d75e250cc77b71d5485c8e9b11c3b25c91899c366e217283c57
EBUILD libxc-1.0.ebuild 1162 RMD160 5674df7a4941c3b32c24244ba8ea753d7a3da1b1 SHA1 4378ca34fe816d5b05c9e2d13fa5228f5ad26367 SHA256 093d4e23b4990a1d8b5b0f651fb8f7ec47ea4220a7cb9c0d3843359dbc492c69
+EBUILD libxc-1.1.0.ebuild 1162 RMD160 5674df7a4941c3b32c24244ba8ea753d7a3da1b1 SHA1 4378ca34fe816d5b05c9e2d13fa5228f5ad26367 SHA256 093d4e23b4990a1d8b5b0f651fb8f7ec47ea4220a7cb9c0d3843359dbc492c69
EBUILD libxc-9999.ebuild 885 RMD160 13f5478d73d625aea9c382ddfeb5d18870c2fb82 SHA1 cfd09fb873970f87acc8d7a5ef3a72c403257162 SHA256 500d9aa1a88b7fdec449c387e2f95af8dc79a8f1c9921e6a0ee7d993bfaeaf01
-MISC ChangeLog 664 RMD160 540f87d17d93d72e703f2ca2c93cc91425b94be1 SHA1 2bf6bbd99b794b61e21db3a38c863d2539fa508b SHA256 448d453379d393c10f108f3a1c9784d8331744f7c522104d3d8e2dc21ce09686
+MISC ChangeLog 796 RMD160 868e720edb9a108cc390b823230db50bb19ae705 SHA1 6b74fd2a3f13e0cef295932aa5ce71457efb25b6 SHA256 1c422609161f944dcd10f95e91072c18936e8211fbc4402f303809ad01944763
MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk4Epr8ACgkQgAnW8HDreRaSNgCeP0txCpts+nC6aVEeCQ/0JmIs
-16YAnRilcdP6156yILIDeXQ+Zs+ter8O
-=vszm
------END PGP SIGNATURE-----
diff --git a/sci-libs/libxc/libxc-1.1.0.ebuild b/sci-libs/libxc/libxc-1.1.0.ebuild
new file mode 100644
index 000000000..576307c38
--- /dev/null
+++ b/sci-libs/libxc/libxc-1.1.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit fortran-2 multilib toolchain-funcs
+
+MY_P=${P//_/-}
+
+DESCRIPTION="A library of exchange-correlation functionals for use in DFT"
+HOMEPAGE="http://www.tddft.org/programs/octopus/wiki/index.php/Libxc/"
+SRC_URI="http://www.tddft.org/programs/octopus/download/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fortran"
+
+S="${WORKDIR}"/${MY_P}
+
+src_configure() {
+ econf \
+ $(use_enable fortran) \
+ FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}"
+}
+
+## Upstream recommends not running the test suite because it requires
+## human expert interpretation to determine whether output is an error or
+## expected under certain circumstances.
+# src_test() { :; }
+
+src_compile() {
+ emake -j1 || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc README ChangeLog AUTHORS || die
+
+ if use fortran; then
+ # argument for this: --with-moduledir from etsf_io/bigdft
+ insinto /usr/$(get_libdir)/finclude
+ pushd src >/dev/null
+ doins *.mod || die
+ rm -f "${D}"/usr/include/*.mod || die
+ popd >/dev/null
+ fi
+}