From 16e5aef3c63fa28cb2655e38cbda022b2f0cb40b Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Wed, 9 Oct 2013 16:08:46 +0200 Subject: sync with gx86 Package-Manager: portage-2.2.1 --- sci-physics/espresso++/ChangeLog | 3 +++ sci-physics/espresso++/espresso++-9999.ebuild | 14 +++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'sci-physics/espresso++') diff --git a/sci-physics/espresso++/ChangeLog b/sci-physics/espresso++/ChangeLog index 922a67667..637498213 100644 --- a/sci-physics/espresso++/ChangeLog +++ b/sci-physics/espresso++/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Oct 2013; Christoph Junghans espresso++-9999.ebuild: + sync with gx86 + 02 Aug 2013; Christoph Junghans espresso++-9999.ebuild: added hostfingerprint diff --git a/sci-physics/espresso++/espresso++-9999.ebuild b/sci-physics/espresso++/espresso++-9999.ebuild index 983a8c5a0..215714df3 100644 --- a/sci-physics/espresso++/espresso++-9999.ebuild +++ b/sci-physics/espresso++/espresso++-9999.ebuild @@ -6,7 +6,7 @@ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} ) -inherit cmake-utils python-single-r1 +inherit cmake-utils multilib python-single-r1 DESCRIPTION="extensible, flexible, fast and parallel simulation software for soft matter research" HOMEPAGE="https://www.espresso-pp.de" @@ -15,9 +15,12 @@ if [[ ${PV} = 9999 ]]; then EHG_REPO_URI="https://hg.berlios.de/repos/espressopp" EHG_REVISION="default" inherit mercurial + KEYWORDS= else SRC_URI="https://espressopp.mpip-mainz.mpg.de/Download/${PN//+/p}-${PV}.tgz" S="${WORKDIR}/${PN//+/p}-${PV}" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos" + PATCHES=( "${FILESDIR}/${P}-multilib.patch" ) fi CMAKE_REMOVE_MODULES_LIST="FindBoost" @@ -27,7 +30,6 @@ EHG_CLONE_CMD="hg clone ${EHG_QUIET_CMD_OPT} ${EHP_OPTS} --pull --noupdate" EHG_PULL_CMD="hg pull ${EHG_QUIET_CMD_OPT} ${EHP_OPTS}" LICENSE="GPL-3 !system-boost? ( Boost-1.0 )" SLOT="0" -KEYWORDS="" IUSE="-system-boost" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -40,6 +42,12 @@ DEPEND="${RDEPEND}" DOCS=( AUTHORS NEWS README ) src_configure() { - mycmakeargs=( $(cmake-utils_use system-boost EXTERNAL_BOOST) ) + mycmakeargs=( $(cmake-utils_use system-boost EXTERNAL_BOOST) -DLIB="$(get_libdir)" ) cmake-utils_src_configure } + +src_install() { + cmake-utils_src_install + rm "${ED}/usr/bin/ESPRC" || die + rmdir "${ED}/usr/bin" || die +} -- cgit v1.2.3