Skip to content

Commit

Permalink
sci-physics/evtgen: add 02.02.03
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
  • Loading branch information
APN-Pucky committed Jan 10, 2025
1 parent 55d9bec commit d36e709
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions sci-physics/evtgen/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST evtgen-02.02.01.tar.gz 2941525 BLAKE2B 8672f2d2e7452ba2330180a7e385d020372bdb436d22b12507ee22344f5013b439f68817e70ed50afbc3585beb15f01b0c29ee35dcbbaac8ec1ee0f8d573b3e2 SHA512 652424dae1d3e3d69c19fa946cd00e61ca5117e38eee20a41a98972374d79261fe7267311c06ecab497729f31e5842e340d6739434f09e5088972c95d2ce9c17
DIST evtgen-02.02.03.tar.gz 2940937 BLAKE2B e136442f1d41bf528c292d60e1869b38a6569fa8be494d64c7cc2b7916da1b8682622715d755801efb30eeb819479210fa93d250b3b72d67afbbb45251c6d9dc SHA512 761028e0b20dcc1db0eabf212af5c06090b5ea6aa5c69398aacf72099b229f1fbc83b0b197032e157a70fe10affab92f57e8d7926d99d1144f5bfe190ab1d4d8
39 changes: 39 additions & 0 deletions sci-physics/evtgen/evtgen-02.02.03.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit d36e709

Please sign in to comment.