commit:     2e6a7412ec358235dcdb5d8cd3d6aadb754e118d
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Mon Mar 31 23:09:26 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 23:09:26 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2e6a7412

Version bump

---
 sci-physics/geant-vmc/ChangeLog                |  6 +++
 sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild | 61 ++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 2571fa1..7a23104 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*geant-vmc-4.2.15a (31 Mar 2014)
+
+  31 Mar 2014; Oliver Freyermuth <o.freyerm...@googlemail.com>
+  +geant-vmc-4.2.15a.ebuild:
+  Version bump
+
   27 Mar 2014; Oliver Freyermuth <o.freyerm...@googlemail.com>
   geant-vmc-3.1.15a.ebuild, geant-vmc-4.2.14b.ebuild, geant-vmc-4.2.15.ebuild:
   Add subslot-dependency on sci-physics/root, rebuilding is needed on each ROOT

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild 
b/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild
new file mode 100644
index 0000000..d212967
--- /dev/null
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit versionator
+
+MPV=$(get_version_component_range 2-)
+
+DESCRIPTION="Virtual Monte Carlo Geant4 implementation"
+HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html";
+SRC_URI="ftp://root.cern.ch/root/vmc/geant4_vmc.${MPV}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples vgm"
+
+RDEPEND="
+       sci-physics/root:=
+       >=sci-physics/geant-4.9.6[opengl,geant3,examples?]
+       vgm? ( sci-physics/vgm )"
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/geant4_vmc"
+
+src_compile() {
+       use vgm && export USE_VGM=1
+       local dirs="g4root source"
+       use examples && dirs+=" examples"
+       local d
+       source $(ls -1 "${EROOT}"usr/share/Geant4-*/geant4make/geant4make.sh) 
|| die
+       for d in ${dirs}; do
+               pushd ${d} > /dev/null || die
+               emake
+               if use doc; then
+                       doxygen || die
+               fi
+               popd > /dev/null
+       done
+}
+
+src_test() {
+       cd examples || die
+       emake
+       ./run_suite.sh || die
+}
+
+src_install() {
+       dolib.so lib/tgt_*/{libg4root,libgeant4vmc}.so
+       doheader -r include/*
+       dodoc README history version_number
+       use doc && dohtml -r Geant4VMC.html doc/*
+       if use examples; then
+               insinto /usr/share/doc/${PF}
+               emake -C examples clean
+               doins -r examples
+       fi
+}

Reply via email to