-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |