diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-07-18 12:13:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-18 12:13:41 -0700 |
| commit | 8dcf40daece7294e2a584a60c51ea86cf731686a (patch) | |
| tree | e69dbf0769edb49e30df4682e6d4c214cda2b38a | |
| parent | 01d139b99f9d27e066927794e1e4981c51b0fc56 (diff) | |
| parent | 628096612448488000b680c71e930cb31fc59a9e (diff) | |
| download | vcpkg-8dcf40daece7294e2a584a60c51ea86cf731686a.tar.gz vcpkg-8dcf40daece7294e2a584a60c51ea86cf731686a.zip | |
Merge pull request #1470 from AuroraDysis/master
[blaze] initial port
| -rw-r--r-- | ports/blaze/CONTROL | 3 | ||||
| -rw-r--r-- | ports/blaze/portfile.cmake | 19 |
2 files changed, 22 insertions, 0 deletions
diff --git a/ports/blaze/CONTROL b/ports/blaze/CONTROL new file mode 100644 index 000000000..dd1b065ef --- /dev/null +++ b/ports/blaze/CONTROL @@ -0,0 +1,3 @@ +Source: blaze +Version: 3.1 +Description: Blaze is an open-source, high-performance C++ math library for dense and sparse arithmetic. diff --git a/ports/blaze/portfile.cmake b/ports/blaze/portfile.cmake new file mode 100644 index 000000000..cf268451c --- /dev/null +++ b/ports/blaze/portfile.cmake @@ -0,0 +1,19 @@ +#header-only library +include(vcpkg_common_functions) + +set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/blaze-3.1) +vcpkg_download_distfile(ARCHIVE + URLS "https://bitbucket.org/blaze-lib/blaze/downloads/blaze-3.1.tar.gz" + FILENAME "blaze-3.1.tar.gz" + SHA512 fe03a7615d4105d6a869cfd69b3db3165b838eff53cdff7adbbd5ae9d753aa009bbab50925463c6704f9530a4c4ad5605e373b3cbaee96ca982a474a665ed756 +) +vcpkg_extract_source_archive(${ARCHIVE}) + +# Copy the blaze header files +file(COPY "${SOURCE_PATH}/blaze" + DESTINATION "${CURRENT_PACKAGES_DIR}/include" + FILES_MATCHING PATTERN "*.h") + +# Handle copyright +file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/blaze) +file(RENAME ${CURRENT_PACKAGES_DIR}/share/blaze/LICENSE ${CURRENT_PACKAGES_DIR}/share/blaze/copyright) |
