From 51983e42327255f26e9d4a32e52b2dee132ba86b Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Tue, 9 Oct 2012 15:05:53 +0200 Subject: initial commit (thx to Torsten Stuehn) (Portage version: 2.2.0_alpha136/git/Linux i686) --- sci-physics/espresso++/ChangeLog | 9 ++++++ sci-physics/espresso++/espresso++-9999.ebuild | 43 +++++++++++++++++++++++++++ sci-physics/espresso++/metadata.xml | 12 ++++++++ 3 files changed, 64 insertions(+) create mode 100644 sci-physics/espresso++/ChangeLog create mode 100644 sci-physics/espresso++/espresso++-9999.ebuild create mode 100644 sci-physics/espresso++/metadata.xml (limited to 'sci-physics/espresso++') diff --git a/sci-physics/espresso++/ChangeLog b/sci-physics/espresso++/ChangeLog new file mode 100644 index 000000000..2602ad68d --- /dev/null +++ b/sci-physics/espresso++/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-physics/espresso++ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*espresso++-9999 (09 Oct 2012) + + 09 Oct 2012; Christoph Junghans +espresso++-9999.ebuild, + +metadata.xml: + initial commit (thx to Torsten Stuehn) diff --git a/sci-physics/espresso++/espresso++-9999.ebuild b/sci-physics/espresso++/espresso++-9999.ebuild new file mode 100644 index 000000000..41eda0d61 --- /dev/null +++ b/sci-physics/espresso++/espresso++-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.1.0.ebuild,v 1.5 2012/05/06 23:08:00 ottxor Exp $ + +EAPI=4 + +PYTHON_DEPEND="2" + +inherit cmake-utils python + +DESCRIPTION="extensible, flexible, fast and parallel simulation software for soft matter research" +HOMEPAGE="https://www.espresso-pp.de" + +if [[ ${PV} = 9999 ]]; then + EHG_REPO_URI="https://hg.berlios.de/repos/espressopp" + EHG_REVISION="default" + inherit mercurial +else + SRC_URI="https://www.espresso-pp.de/Download/${PN%++}pp_${PV//./_}.tgz" +fi + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos" +IUSE="-system-boost" + +RDEPEND=" + system-boost? ( dev-libs/boost[python,mpi] ) + virtual/mpi + " + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN%++}pp" + +DOCS=( AUTHORS NEWS README ) + +src_configure() { + mycmakeargs=( + $(cmake-utils_use system-boost EXTERNAL_BOOST) + ) + cmake-utils_src_configure +} diff --git a/sci-physics/espresso++/metadata.xml b/sci-physics/espresso++/metadata.xml new file mode 100644 index 000000000..14341e73e --- /dev/null +++ b/sci-physics/espresso++/metadata.xml @@ -0,0 +1,12 @@ + + + + sci-physics + + ottxor@gentoo.org + Christoph Junghans + + + Use system boost (dev-libs/boost) instead of bundled one + + -- cgit v1.2.3-18-g5258