aboutsummaryrefslogtreecommitdiff
path: root/ports/highfive
diff options
context:
space:
mode:
authorjasjuang <jasjuang@gmail.com>2017-09-22 08:16:32 -0700
committerjasjuang <jasjuang@gmail.com>2017-09-22 08:16:32 -0700
commitf643a8422f87c5a16e3cc77e3e321e34a45f7103 (patch)
tree419c9a2e74ab577aab0e868441b9a0e4c15d4919 /ports/highfive
parent9989177fed607cdc9e20127ff7c22e3266e7c913 (diff)
parentfac96eb344a500405ab65b7e7f3755af0ad00b7e (diff)
downloadvcpkg-f643a8422f87c5a16e3cc77e3e321e34a45f7103.tar.gz
vcpkg-f643a8422f87c5a16e3cc77e3e321e34a45f7103.zip
Merge branch 'master' of https://github.com/jasjuang/vcpkg
Diffstat (limited to 'ports/highfive')
-rw-r--r--ports/highfive/CONTROL4
-rw-r--r--ports/highfive/portfile.cmake13
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/highfive/CONTROL b/ports/highfive/CONTROL
new file mode 100644
index 000000000..17aa55c8f
--- /dev/null
+++ b/ports/highfive/CONTROL
@@ -0,0 +1,4 @@
+Source: highfive
+Version: 1.3
+Description: HighFive is a modern C++/C++11 friendly interface for libhdf5
+Build-Depends: hdf5, boost \ No newline at end of file
diff --git a/ports/highfive/portfile.cmake b/ports/highfive/portfile.cmake
new file mode 100644
index 000000000..9fea72553
--- /dev/null
+++ b/ports/highfive/portfile.cmake
@@ -0,0 +1,13 @@
+include(vcpkg_common_functions)
+set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/HighFive-1.3)
+vcpkg_download_distfile(ARCHIVE
+ URLS "https://github.com/BlueBrain/HighFive/archive/v1.3.tar.gz"
+ FILENAME "highfive.v1.3.tar.gz"
+ SHA512 258efae1ef5eed45ac1cf93c21c79fab9ee3c340d49a36a4aa2b43c98df1c80db9167a40a0b6a59c4f99b7c190d41d545b53c0f2c5c59aabaffc4b2584b4390b
+)
+vcpkg_extract_source_archive(${ARCHIVE})
+
+# Copy the highfive header files
+file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.hpp")
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/highfive RENAME copyright)