From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RbUhv-0002sr-Ac for garchives@archives.gentoo.org; Fri, 16 Dec 2011 10:08:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5699F21C21A; Fri, 16 Dec 2011 10:07:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 16AEE21C200 for ; Fri, 16 Dec 2011 10:07:55 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 871E51B40A2 for ; Fri, 16 Dec 2011 10:07:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id CC56E8004A for ; Fri, 16 Dec 2011 10:07:54 +0000 (UTC) From: "Honza Macháček" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Honza Macháček" Message-ID: Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/libxc/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/libxc/ChangeLog sci-libs/libxc/libxc-1.1.0-r1.ebuild X-VCS-Directories: sci-libs/libxc/ X-VCS-Committer: honza_machacek X-VCS-Committer-Name: Honza Macháček X-VCS-Revision: e132d3881ae56c0895da2d080c3107b1d958f989 Date: Fri, 16 Dec 2011 10:07:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9bc23adf-6274-4936-ad2b-8a4b340c7a8f X-Archives-Hash: f02438a9db439d309c37dc0b41a2e90c commit: e132d3881ae56c0895da2d080c3107b1d958f989 Author: Honza Mach=C3=A1=C4=8Dek centrum cz> AuthorDate: Fri Dec 16 10:06:31 2011 +0000 Commit: Honza Mach=C3=A1=C4=8Dek centrum cz> CommitDate: Fri Dec 16 10:06:31 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3De132d388 sci-libs/libxc-1.1.0-r1 forces compilation with -fPIC for sci-physics/ato= mpaw-3.0.1.3 not to complain --- sci-libs/libxc/ChangeLog | 6 ++++ sci-libs/libxc/libxc-1.1.0-r1.ebuild | 51 ++++++++++++++++++++++++++++= ++++++ 2 files changed, 57 insertions(+), 0 deletions(-) diff --git a/sci-libs/libxc/ChangeLog b/sci-libs/libxc/ChangeLog index efe5b55..a4df308 100644 --- a/sci-libs/libxc/ChangeLog +++ b/sci-libs/libxc/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 +*libxc-1.1.0-r1 (16 Dec 2011) + + 16 Dec 2011; Honza Mach=C3=A1=C4=8Dek + +libxc-1.1.0-r1.ebuild: + Forced -fPIC to go well with sci-physics/atompaw + *libxc-1.1.0 (14 Dec 2011) =20 14 Dec 2011; Honza Mach=C3=A1=C4=8Dek +libxc= -1.1.0.ebuild: diff --git a/sci-libs/libxc/libxc-1.1.0-r1.ebuild b/sci-libs/libxc/libxc-= 1.1.0-r1.ebuild new file mode 100644 index 0000000..7d3deac --- /dev/null +++ b/sci-libs/libxc/libxc-1.1.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D3 + +inherit fortran-2 multilib toolchain-funcs + +MY_P=3D${P//_/-} + +DESCRIPTION=3D"A library of exchange-correlation functionals for use in = DFT" +HOMEPAGE=3D"http://www.tddft.org/programs/octopus/wiki/index.php/Libxc/" +SRC_URI=3D"http://www.tddft.org/programs/octopus/download/${PN}/${P}.tar= .gz" + +LICENSE=3D"LGPL-3" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"fortran" + +S=3D"${WORKDIR}"/${MY_P} + +src_configure() { + econf \ + $(use_enable fortran) \ + FCFLAGS=3D"${FCFLAGS:- ${FFLAGS:- -O2}} -fPIC" \ + CFLAGS=3D"${CFLAGS} -fPIC" +} + +## Upstream recommends not running the test suite because it requires +## human expert interpretation to determine whether output is an error o= r +## expected under certain circumstances. +# src_test() { :; } + +src_compile() { + emake -j1 || die +} + +src_install() { + emake DESTDIR=3D"${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 +}