summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2011-04-26 21:08:25 +0000
committerChristoph Junghans <ottxor@gentoo.org>2011-04-26 21:08:25 +0000
commite7bee18ce1cc66c609b665b99fe0063d2ea54e1d (patch)
treee435af7f0f3b4ecda13438a49f1bd7a890b8756d /sci-physics/espresso
parentEnable Null Renderer module for games-arcade/smc; Remove doxygen from RDEPEND (diff)
downloadgentoo-2-e7bee18ce1cc66c609b665b99fe0063d2ea54e1d.tar.gz
gentoo-2-e7bee18ce1cc66c609b665b99fe0063d2ea54e1d.tar.bz2
gentoo-2-e7bee18ce1cc66c609b665b99fe0063d2ea54e1d.zip
[sci-physics/espresso] added ~amd64 (bug 266648#c10)
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'sci-physics/espresso')
-rw-r--r--sci-physics/espresso/ChangeLog5
-rw-r--r--sci-physics/espresso/espresso-3.0.0.ebuild22
2 files changed, 21 insertions, 6 deletions
diff --git a/sci-physics/espresso/ChangeLog b/sci-physics/espresso/ChangeLog
index 4fe606be7fb1..6c0338b74849 100644
--- a/sci-physics/espresso/ChangeLog
+++ b/sci-physics/espresso/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-physics/espresso
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.1 2011/04/20 13:03:00 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.2 2011/04/26 21:08:25 ottxor Exp $
+
+ 26 Apr 2011; Christoph Junghans <ottxor@gentoo.org> espresso-3.0.0.ebuild:
+ added ~amd64 (bug 266648#c10)
*espresso-3.0.0 (20 Apr 2011)
diff --git a/sci-physics/espresso/espresso-3.0.0.ebuild b/sci-physics/espresso/espresso-3.0.0.ebuild
index 3eaab33bd297..945685f7f94c 100644
--- a/sci-physics/espresso/espresso-3.0.0.ebuild
+++ b/sci-physics/espresso/espresso-3.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.0.0.ebuild,v 1.1 2011/04/20 13:03:00 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.0.0.ebuild,v 1.2 2011/04/26 21:08:25 ottxor Exp $
EAPI="4"
@@ -8,12 +8,22 @@ inherit autotools-utils savedconfig
DESCRIPTION="Extensible Simulation Package for Research on Soft matter"
HOMEPAGE="http://www.espressomd.org"
-SRC_URI="mirror://nongnu/${PN}md/${P}.tar.gz"
+
+if [ "${PV%9999}" != "${PV}" ]; then
+ EGIT_REPO_URI="git://git.savannah.nongnu.org/espressomd.git"
+ EGIT_BRANCH="master"
+ inherit git
+else
+ SRC_URI="mirror://nongnu/${PN}md/${P}.tar.gz"
+fi
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="X doc examples fftw mpi packages test -tk"
+REQUIRED_USE="tk? ( X )"
+
+RESTRICT="tk? ( test )"
RDEPEND="dev-lang/tcl
X? ( x11-libs/libX11 )
@@ -60,9 +70,11 @@ src_install() {
save_config ${AUTOTOOLS_BUILD_DIR}/src/myconfig-final.h
if use doc; then
- newdoc doc/ug/ug.pdf user_guide.pdf
+ local where="."
+ [ "${PV%9999}" != "${PV}" ] && where="${AUTOTOOLS_BUILD_DIR}"
+ newdoc ${where}/doc/ug/ug.pdf user_guide.pdf
dohtml -r ${AUTOTOOLS_BUILD_DIR}/doc/dg/html/*
- newdoc doc/tutorials/tut2/tut2.pdf tutorial.pdf
+ newdoc ${where}/doc/tutorials/tut2/tut2.pdf tutorial.pdf
fi
if use examples; then