commit: d36e7094bdd10e1361475ab7a109295e99d15113
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT>
de>
AuthorDate: Wed Jan 8 15:56:24 2025 +0000
Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT>
de>
CommitDate: Fri Jan 10 14:48:21 2025 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d36e7094
sci-physics/evtgen: add 02.02.03
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
sci-physics/evtgen/evtgen-02.02.03.ebuild | 39 +++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/sci-physics/evtgen/evtgen-02.02.03.ebuild
b/sci-physics/evtgen/evtgen-02.02.03.ebuild
new file mode 100644
index 000000000..a8ca9fde7
--- /dev/null
+++ b/sci-physics/evtgen/evtgen-02.02.03.ebuild
@@ -0,0 +1,39 @@
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+MY_PN="EvtGen"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="EvtGen is a Monte Carlo event generator that simulates the decays"
+HOMEPAGE="https://evtgen.hepforge.org/"
+SRC_URI="https://evtgen.hepforge.org/downloads?f=${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}/R$(ver_rs 1-2 '-')"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+hepmc3 pythia photos tauola"
+
+RDEPEND="
+ !hepmc3? ( sci-physics/hepmc:2= )
+ hepmc3? ( sci-physics/hepmc:3= )
+ pythia? ( >=sci-physics/pythia-8.3.0:= )
+ photos? ( >=sci-physics/photos-3.64:=[hepmc3?] )
+ tauola? ( >=sci-physics/tauola-1.1.8:=[hepmc3?] )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DEVTGEN_HEPMC3=$(usex hepmc3 ON OFF)
+ -DHEPMC3_ROOT_DIR="${ESYSROOT}/usr"
+ -DEVTGEN_PYTHIA=$(usex pythia ON OFF)
+ $(usex pythia -DPYTHIA8_ROOT_DIR="${ESYSROOT}/usr")
+ -DEVTGEN_PHOTOS=$(usex photos ON OFF)
+ -DEVTGEN_TAUOLA=$(usex tauola ON OFF)
+ )
+ cmake_src_configure
+}