diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
commit | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch) | |
tree | 6c418a1546fff5becab5d8b9ed6803323e7f316e /sci-physics/clhep | |
parent | fbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff) |
gentoo resync : 10.09.2021
Diffstat (limited to 'sci-physics/clhep')
-rw-r--r-- | sci-physics/clhep/Manifest | 2 | ||||
-rw-r--r-- | sci-physics/clhep/clhep-2.4.5.1.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-physics/clhep/Manifest b/sci-physics/clhep/Manifest index 4bbc14dc944b..dbc8835dea03 100644 --- a/sci-physics/clhep/Manifest +++ b/sci-physics/clhep/Manifest @@ -3,7 +3,9 @@ AUX clhep-modulemap.patch 883 BLAKE2B 174bd4827da32982b77052ab09f36d84e3035c7a09 DIST clhep-2.4.1.3.tgz 1537908 BLAKE2B 92fd1fcc415b01d8efa44be67c3bf9e58af2b4d18b6e7ee2161fbc20312428a6f17eacc09150ccff7fefb1686161518042f5c2f7558ff00b4d5696d002432ece SHA512 f7a52b353dc2c6d30cb7d307af71a028838ec674af2a50fe0199335d0b0f7fb4b84489ccfd12f21ecb7b1327acbc87065e7e87363308fd0caad5748a657aac13 DIST clhep-2.4.4.0.tgz 1541722 BLAKE2B 077048ea3ce94de88f08a1ae51ab9af892385d6747ed9f875e13b5aacc725e85f723031d42f526ca53050c07dad621053008c71d0f255f32893724f3e8189e52 SHA512 3ae88c8f31877c6e2cac7f7612946e9989186876c66015e6bfeab19260814c8a8bfb21fa28dd251cd2c43e4e3f63f336249c430c984f84810441603e949ecb5d DIST clhep-2.4.4.2.tgz 1541867 BLAKE2B 69f23c298db57fbd23a505facd993725f4f21b410463069570e98826dc96d54f309b010df27a5fe910c756bfb1dcdffdb9b47452ef5ddadd5a91ed81a1d9566e SHA512 c267e113111c139f4048db774c81167e53a70d4911f8106c3fabf5980935dfc9b451108385e9d8b8dccace99b4732a21ec0ea2fb86004bb85d04c02cfa54a619 +DIST clhep-2.4.5.1.tgz 1551358 BLAKE2B e428946163dd525291643e9cdb4921dea64feacf4281aaa4b1466bed021e123ac29fa654e115efa3bb1d154869b4c04196f562850b5e6e162e98001a3d901727 SHA512 68612004a92c6dc036471f440bc00605b611a6f2f9f46ab7343c1f83357498bb7518c4dd2e44d0aef754188d5efbc3ac9187c2371bc6bd46ca076ab4ff13afae EBUILD clhep-2.4.1.3-r2.ebuild 1255 BLAKE2B 3a0fa1d273defe2175fbb959b86b0ad9412c249a99eab148305c80e6385c7120166ef9e1d3e62f0f92626ec1127ac74da05e2904d57fdc8499457b18152ac113 SHA512 2dd80b6afd922e83f4cdaf3813aded58347d91e50e21480d727cb0d6e22b271357ae18d083a85a9a80b2f413bf6056a3045853e928bbdd95aa93475b97a4392a EBUILD clhep-2.4.4.0.ebuild 1293 BLAKE2B bd9ecf7d692afd6dde230d5dc93f5eeecfd987c6c1f5f5dfa049d577ef6d694618f77d4b2b7f0c439142bb2443ffbeae1b1a8894e3dd4785d903d4fe5590c985 SHA512 d19bca83b3567dc009482c819d27930f2fc66e3ec776e79c10f6a136bd0242c6b08922d99b5632ddeaa5446677fbf1e62fff1a13485085a28e63af518362deb1 EBUILD clhep-2.4.4.2.ebuild 1201 BLAKE2B 6c160820ebaecdb9b0be25a0ee4ee623d6a3e3167f6da24efe9507771d5b2388eb1662a0dec9dea410176c5f96b6dd06d91f45c14a77f2595c287e857397c2a0 SHA512 9dcda8ed96899c2cf8e88d3b1bc1cb355fb5480a67b54d0b746cd919e2e0d41c44f1c66b1a3b18f29639e05d88bbbde654db57a32b239ee1750ac0cfd9c10331 +EBUILD clhep-2.4.5.1.ebuild 1201 BLAKE2B 6c160820ebaecdb9b0be25a0ee4ee623d6a3e3167f6da24efe9507771d5b2388eb1662a0dec9dea410176c5f96b6dd06d91f45c14a77f2595c287e857397c2a0 SHA512 9dcda8ed96899c2cf8e88d3b1bc1cb355fb5480a67b54d0b746cd919e2e0d41c44f1c66b1a3b18f29639e05d88bbbde654db57a32b239ee1750ac0cfd9c10331 MISC metadata.xml 496 BLAKE2B 60254470fbb21294249dd75b34aebb0d29d090aba3a41f75e02950ccd77fe1ca0043eec460844f2de4b2a9b4bd4e34f2faa6c00b81daf8e615b78d92f503ade3 SHA512 768aeefc23a2ea89eb63b0eb6fd084c253243b6d67b822702dffc8f49a7170d30e55ebc08875ff238e618639882f93fe6e1390e3d8456f3850d75d5a98bf3b96 diff --git a/sci-physics/clhep/clhep-2.4.5.1.ebuild b/sci-physics/clhep/clhep-2.4.5.1.ebuild new file mode 100644 index 000000000000..ab61250e0377 --- /dev/null +++ b/sci-physics/clhep/clhep-2.4.5.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 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 +} |