diff options
Diffstat (limited to 'sci-libs/libgeodecomp')
-rw-r--r-- | sci-libs/libgeodecomp/Manifest | 6 | ||||
-rw-r--r-- | sci-libs/libgeodecomp/files/libflatarray.patch | 11 | ||||
-rw-r--r-- | sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild | 47 | ||||
-rw-r--r-- | sci-libs/libgeodecomp/metadata.xml | 7 |
4 files changed, 71 insertions, 0 deletions
diff --git a/sci-libs/libgeodecomp/Manifest b/sci-libs/libgeodecomp/Manifest new file mode 100644 index 000000000000..910acbd2cb89 --- /dev/null +++ b/sci-libs/libgeodecomp/Manifest @@ -0,0 +1,6 @@ +AUX libflatarray.patch 528 SHA256 5858f66ba36289dd0247a70ed2ab26351137f06463ce2331a56a09107a202f12 SHA512 e3b195723999285fa14702e01497485f55e8523883951db16eb883220cb636d3f20f3df776b1a0dff70da221dfd7483a032e08b2996e94fd642fa175f69cc627 WHIRLPOOL d797166bcdbaf987b58288f29ca1f61c7106b6f9a05158a9e2ae7f8dd0a2bc62b0242bddd20a5795d5e4416ea64dcc35cde3881e43b095d4285df18686fe275e +DIST libgeodecomp-0.3.1.tar.bz2 740341 SHA256 3c49a238472a82be3a6e2411a20bda85672aac01d4a87bb0e63ccbff1385ea64 SHA512 28f0ea04e45cb0a5b81b18efd3e3a011d58c077562f8039ff42e701cc362f86dff90bd505690ec22c8a42e9de1236d5b6c61d288ad4c154289e92700a2a7fcc0 WHIRLPOOL 3827974861556ab84a16e81b8cece2cff4d9e88a1559d99192fa47efd571639b252423038b3b579811c7d57452e94ae96b99f7209e87af46b752b5a193dc9994 +EBUILD libgeodecomp-0.3.1.ebuild 1119 SHA256 f028770acd97561b8aa31dea7c5190740f44eb68f4dc4bec0edb0601c8c6995c SHA512 acfa314b68acbad74a88218c01681ac59b5827c3f93bf3d999ab9d45ccbb8072e7eaf7ed4235223266a720bfc1847251c0ff952cbf2b10ce41fa8089430f7cf0 WHIRLPOOL 65e27d0a9877776202b435db60b00f82765edc2e9c7ac66340557a65971338ed0a03dfea91ee2df30291406e7197a670cb84c830c50c7eeac6788d58aaebc740 +MISC ChangeLog 2511 SHA256 5a33add83467c3752615f585c3604cdb166afbd83a3197fa7c26c27fb49a726a SHA512 b1462753b2deeb3b5cd2b033ab3ce5b10758d5bb2ef9f567bd890bee86f7f5ba497a1ecf09fcbd0a710a273639f4a0af971bccb4cf95724f91369b00489fc519 WHIRLPOOL 9ce47507c164e000fe3d5d17f47bd3eb5b2f37cf8f99269e7215bd87df0658836e2958e38980ed4f60f5f6a09e45c9cb04eb803187b60a23c6f83704628c3152 +MISC ChangeLog-2015 509 SHA256 5b81c6d04f6a96e40f434b9378b18ae470f4b5c04ea670d2c67a5a1ec6ebb9ab SHA512 8d1de0c428008effa87f19705f81139bf05dd9c8a4605d98de2274f66f98d99355208f2a303dc6cd65c486f4546864a39db358b7265fd59ffa06ba329e9859b8 WHIRLPOOL 224a8b9d224debff3ed4c80867130a4b4424069623e3ab2d222bb8fba2a56f6e9ab5c418d4e62d8e30bba287b85db3119df95943e07d7c2b18d26753342bfd6d +MISC metadata.xml 219 SHA256 b4761abaa4db71355e68ae61325c38990acb1dc6350e3632aa3ee64bfcd69554 SHA512 b6db740071cb706a6dd7ce9e21ec09a11c9d63752f87e700a5cb58fc100befdfc3c6b16b3065e8a8cb9a8cd3bcae6bd162f3bcd3dfcc592e27b5f738adc71007 WHIRLPOOL a65925ed7d4d3e0ac0530648ec4ca60b6487d124e866ec5c20e75ceceab83949a1af4a9431d07b7a7f966f5b390be01eabd454161fab46d1e39d28ba2c85bbea diff --git a/sci-libs/libgeodecomp/files/libflatarray.patch b/sci-libs/libgeodecomp/files/libflatarray.patch new file mode 100644 index 000000000000..8a109d986577 --- /dev/null +++ b/sci-libs/libgeodecomp/files/libflatarray.patch @@ -0,0 +1,11 @@ +--- src/CMakeLists.txt.orig 2015-05-06 07:03:21.508147301 +0200 ++++ src/CMakeLists.txt 2015-05-06 07:03:27.038147363 +0200 +@@ -439,7 +439,7 @@ + install(FILES ${HEADERS} DESTINATION include/${PACKAGE_NAME}/${dir}) + endforeach(dir) + # install libflatarray, too +-install(FILES ../lib/libflatarray/src/flat_array.hpp DESTINATION include/libflatarray) ++#install(FILES ../lib/libflatarray/src/flat_array.hpp DESTINATION include/libflatarray) + + # link against the libs we need + set(INSTALLER_LINK_FLAGS "-L\${libdir} -lgeodecomp ") diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild new file mode 100644 index 000000000000..095cf09eafa5 --- /dev/null +++ b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="An auto-parallelizing library to speed up computer simulations" +HOMEPAGE="http://www.libgeodecomp.org" +SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2" + +SLOT="0" +LICENSE="Boost-1.0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc examples" + +RDEPEND=">=dev-libs/boost-1.48" +DEPEND="${RDEPEND} + dev-libs/libflatarray + examples? ( !sys-cluster/mpich2 )" + +S="${WORKDIR}/${P}/src" + +src_prepare() { + epatch "${FILESDIR}/libflatarray.patch" + sed -i 's/libdir=${CMAKE_INSTALL_PREFIX}\/lib/libdir=\/usr\/'$(get_libdir)'/' "${S}/CMakeLists.txt" + sed -i 's/install(TARGETS geodecomp DESTINATION lib)/install(TARGETS geodecomp DESTINATION '$(get_libdir)')/' "${S}/CMakeLists.txt" + + if ! use examples ; then + sed -i 's/examples//g' CMakeLists.txt + fi +} + +src_compile() { + cmake-utils_src_compile + use doc && cmake-utils_src_make doc +} + +src_install() { + DOCS=( ../README ) + use doc && HTML_DOCS=( ../doc/html/* ) + cmake-utils_src_install +} + +src_test() { + cmake-utils_src_make test +} diff --git a/sci-libs/libgeodecomp/metadata.xml b/sci-libs/libgeodecomp/metadata.xml new file mode 100644 index 000000000000..9c43c5cbc14e --- /dev/null +++ b/sci-libs/libgeodecomp/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>slis@gentoo.org</email> + </maintainer> +</pkgmetadata> |