sci-physics/espresso: fix install
authorChristoph Junghans <junghans@gentoo.org>
Sun, 23 Sep 2018 12:48:41 +0000 (06:48 -0600)
committerChristoph Junghans <junghans@gentoo.org>
Sun, 23 Sep 2018 12:49:22 +0000 (06:49 -0600)
Package-Manager: Portage-2.3.49, Repoman-2.3.10

sci-physics/espresso/espresso-4.0.0-r1.ebuild [moved from sci-physics/espresso/espresso-4.0.0.ebuild with 98% similarity]
sci-physics/espresso/files/2277.patch [new file with mode: 0644]

similarity index 98%
rename from sci-physics/espresso/espresso-4.0.0.ebuild
rename to sci-physics/espresso/espresso-4.0.0-r1.ebuild
index 953909c3dd7d54b870f2a21d52e8ae1141d55a30..54eb213cc07a539e19a331e2421c992b4dcb380c 100644 (file)
@@ -45,6 +45,8 @@ DEPEND="${RDEPEND}
 
 DOCS=( AUTHORS NEWS README ChangeLog )
 
+PATCHES=( "${FILESDIR}/2277.patch" )
+
 src_prepare() {
        use cuda && cuda_src_prepare
        cmake-utils_src_prepare
diff --git a/sci-physics/espresso/files/2277.patch b/sci-physics/espresso/files/2277.patch
new file mode 100644 (file)
index 0000000..608bd28
--- /dev/null
@@ -0,0 +1,19 @@
+From 46110a514ce2420a350cca8b9af28e0c4eb51861 Mon Sep 17 00:00:00 2001
+From: Christoph Junghans <junghans@votca.org>
+Date: Fri, 21 Sep 2018 06:57:16 -0600
+Subject: [PATCH] cmake: install libH5mdCore
+
+---
+ src/core/io/writer/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/core/io/writer/CMakeLists.txt b/src/core/io/writer/CMakeLists.txt
+index e677ba273a..42b96c96af 100644
+--- a/src/core/io/writer/h5md/CMakeLists.txt
++++ b/src/core/io/writer/h5md/CMakeLists.txt
+@@ -4,4 +4,5 @@
+   "${CMAKE_SOURCE_DIR}/libs/h5xx"
+   )
+ add_dependencies(H5mdCore EspressoConfig)
++install(TARGETS H5mdCore LIBRARY DESTINATION ${LIBDIR})