summaryrefslogtreecommitdiff
path: root/sci-physics/clhep
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/clhep')
-rw-r--r--sci-physics/clhep/Manifest4
-rw-r--r--sci-physics/clhep/clhep-2.4.6.4.ebuild2
-rw-r--r--sci-physics/clhep/clhep-2.4.7.1.ebuild55
3 files changed, 59 insertions, 2 deletions
diff --git a/sci-physics/clhep/Manifest b/sci-physics/clhep/Manifest
index 684a9a2ade9e..40379bb7f538 100644
--- a/sci-physics/clhep/Manifest
+++ b/sci-physics/clhep/Manifest
@@ -1,5 +1,7 @@
DIST clhep-2.4.6.2.tgz 1550248 BLAKE2B 10da3a7adc295c306d3ad57bff68489852717885eac544fe6858aed3868047cb377565f55a861751a09ea6c88584fe94b685f5dcef84c6e51afdddef8080eeb2 SHA512 cae1295d27b804c3b45c21195d8d45e9403e9449ca12d1e1a031615584f46784a1c6f75fdbc51467b901fa47057aa79077bd224994f0b6261abefc99810c2687
DIST clhep-2.4.6.4.tgz 1550911 BLAKE2B 20da75b641e9396b8b63d81f931f63ecf886ca1e02c8d4eda48ff17ba27753df66bebd758db410d7c5c2c18db0bc82641a48da1e40c48f5da0f01db9524f0d53 SHA512 7df53762a2e788bdc5e4a780bedbca7fa862b033389972cd698f364f0b399e23705554e44da3df140d6334c513b494fe90ffc2b592a36792fbb2bc7c5626da90
+DIST clhep-2.4.7.1.tgz 1229169 BLAKE2B 9bf00c634142874328bc385950c542a1836c83cb35d8366f5b6c3a4ffe5e17e108c9917a5508506f3a400f0bd9e0e635b70e8c7ac73d1db3071e876a0e073339 SHA512 2d997c23fac5c2113cd749764e9d61c9ee3b95e145e29343a4c87a81d0eeed5c0216c73e5ae1630f1462d115b4df78d061a1165949cd1babecb65a9358106095
EBUILD clhep-2.4.6.2.ebuild 1200 BLAKE2B 11f50b18c145f935c8f5faf246f4ec79a43577be1dbce76d7486e518012435a4d90920fa4f13e90546309743cbcd84d4b28963318061805d4f268f738d186803 SHA512 9d63dff04804e5bc9fe79b214d6ed53f8930a24f2b2c74b8b7760a65389f6cb4d47a0d88db1c9cba08fa4f28af6ae4289a8ee848846f8feacc71553c336c11c6
-EBUILD clhep-2.4.6.4.ebuild 1201 BLAKE2B 75fd2bbaaded4f7aa362eaa65448f23069abf0488911e528f4484aea4a99eb087bb53a14d60e92f377fd64622958685abfc1a29512051ae3bcf70f6ba3dbfda5 SHA512 691223e830de5f4d0059aaba798d4b24f8496be4ba9137c220f065a9ce6a579cadc2003d2d6444171c0bc54cdb3ebbec7cb4d5a1c5284def8a01e94f134c1cba
+EBUILD clhep-2.4.6.4.ebuild 1200 BLAKE2B 11f50b18c145f935c8f5faf246f4ec79a43577be1dbce76d7486e518012435a4d90920fa4f13e90546309743cbcd84d4b28963318061805d4f268f738d186803 SHA512 9d63dff04804e5bc9fe79b214d6ed53f8930a24f2b2c74b8b7760a65389f6cb4d47a0d88db1c9cba08fa4f28af6ae4289a8ee848846f8feacc71553c336c11c6
+EBUILD clhep-2.4.7.1.ebuild 1201 BLAKE2B 75fd2bbaaded4f7aa362eaa65448f23069abf0488911e528f4484aea4a99eb087bb53a14d60e92f377fd64622958685abfc1a29512051ae3bcf70f6ba3dbfda5 SHA512 691223e830de5f4d0059aaba798d4b24f8496be4ba9137c220f065a9ce6a579cadc2003d2d6444171c0bc54cdb3ebbec7cb4d5a1c5284def8a01e94f134c1cba
MISC metadata.xml 497 BLAKE2B 9f68cecc9a1a96ebbc0f8408a2124a47414e987bf458f979548b458676ad45644d9fa3c690200be93aa01ef1d205e5bc3e7596b18d48a1b8a85455e2fc84fe8a SHA512 9ef1d630cfd0214dc7fb0c8021560d974cebf717c3eecd27f7abc7ee634edcaf2cc128a808b21a8676fc7bed2bf93d927cd682d4b37ef9f9c34041b0c8a06a2d
diff --git a/sci-physics/clhep/clhep-2.4.6.4.ebuild b/sci-physics/clhep/clhep-2.4.6.4.ebuild
index 8297ecd068ed..78d5e4cde95d 100644
--- a/sci-physics/clhep/clhep-2.4.6.4.ebuild
+++ b/sci-physics/clhep/clhep-2.4.6.4.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://proj-clhep.web.cern.ch/proj-clhep/"
SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/dist1/${P}.tgz"
LICENSE="GPL-3 LGPL-3"
SLOT="2/${PV}"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="doc test threads"
RESTRICT="!test? ( test )"
diff --git a/sci-physics/clhep/clhep-2.4.7.1.ebuild b/sci-physics/clhep/clhep-2.4.7.1.ebuild
new file mode 100644
index 000000000000..8297ecd068ed
--- /dev/null
+++ b/sci-physics/clhep/clhep-2.4.7.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="High Energy Physics C++ library"
+HOMEPAGE="http://proj-clhep.web.cern.ch/proj-clhep/"
+SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/dist1/${P}.tgz"
+LICENSE="GPL-3 LGPL-3"
+SLOT="2/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+IUSE="doc test threads"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ doc? (
+ app-doc/doxygen
+ dev-texlive/texlive-bibtexextra
+ dev-texlive/texlive-fontsextra
+ dev-texlive/texlive-fontutils
+ dev-texlive/texlive-latex
+ dev-texlive/texlive-latexextra
+ )
+"
+
+S="${WORKDIR}/${PV}/CLHEP"
+
+src_prepare() {
+ cmake_src_prepare
+
+ # respect flags
+ sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die
+ # dont build test if not asked
+ if ! use test; then
+ cmake_comment_add_subdirectory test
+ fi
+ # gentoo doc directory
+ if use doc; then
+ grep -rl 'share/doc/CLHEP' |
+ xargs sed -i \
+ -e "s:share/doc/CLHEP:share/doc/${PF}:" \
+ {.,*}/CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCLHEP_BUILD_DOCS=$(usex doc)
+ -DCLHEP_SINGLE_THREAD=$(usex threads no yes)
+ )
+ cmake_src_configure
+}