sci-physics/evtgen - 02.02.03 (science)

Search

Package Information

Description:
EvtGen is a Monte Carlo event generator that simulates the decays
Homepage:
https://evtgen.hepforge.org/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
02.02.03 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

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
}

USE Flags

hepmc3
Default: Enabled (+)

Dependencies

DEPEND

	!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?] )

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?] )

Manifest for 02.02.03

Type File Size Source URLs
DIST evtgen-02.02.03.tar.gz 2940937 bytes https://evtgen.hepforge.org/downloads?f=EvtGen-02.02.03.tar.gz