diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2017-08-24 15:41:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-24 15:41:27 -0700 |
| commit | 8016f695e4afe9150d717300797616360ed5b2ef (patch) | |
| tree | 09d9d4ed106a403009f3c61d9933425710fedcdd | |
| parent | 73ab68dc18d2313a6662653d725c3bcb527858a1 (diff) | |
| parent | e4d0cb197642d1ca77abbb2ce46effb7aac2bcac (diff) | |
| download | vcpkg-8016f695e4afe9150d717300797616360ed5b2ef.tar.gz vcpkg-8016f695e4afe9150d717300797616360ed5b2ef.zip | |
Merge pull request #1695 from veggiesaurus/highfive
[highfive] new port
| -rw-r--r-- | ports/highfive/CONTROL | 4 | ||||
| -rw-r--r-- | ports/highfive/portfile.cmake | 14 |
2 files changed, 18 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..34d41ac1e --- /dev/null +++ b/ports/highfive/portfile.cmake @@ -0,0 +1,14 @@ +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) +vcpkg_copy_pdbs() |
