diff options
| author | Simon Brand <tartanllama@gmail.com> | 2018-12-03 08:44:24 +0000 |
|---|---|---|
| committer | Simon Brand <tartanllama@gmail.com> | 2018-12-03 08:44:24 +0000 |
| commit | 59431acbc74cbd68f85cf06bc5f1895febd6a54e (patch) | |
| tree | 637042dcde4f98bd5d4aa9e9d089379f48ee885a | |
| parent | cc0a70e4bbc7b12e6c0df7f9daaa76d1076ee993 (diff) | |
| download | vcpkg-59431acbc74cbd68f85cf06bc5f1895febd6a54e.tar.gz vcpkg-59431acbc74cbd68f85cf06bc5f1895febd6a54e.zip | |
[CTRE] New port
| -rw-r--r-- | ports/ctre/CONTROL | 3 | ||||
| -rw-r--r-- | ports/ctre/portfile.cmake | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/ports/ctre/CONTROL b/ports/ctre/CONTROL new file mode 100644 index 000000000..3351ecf25 --- /dev/null +++ b/ports/ctre/CONTROL @@ -0,0 +1,3 @@ +Source: ctre +Version: 2.2-1 +Description: A Compile time PCRE (almost) compatible regular expression matcher diff --git a/ports/ctre/portfile.cmake b/ports/ctre/portfile.cmake new file mode 100644 index 000000000..76a4a7857 --- /dev/null +++ b/ports/ctre/portfile.cmake @@ -0,0 +1,15 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO hanickadot/compile-time-regular-expressions + REF v2.2 + SHA512 f6f18e3e5bc654ff94cd540a3b665615151678541575dfc8d4113c317fba5ea83f57694dc330c174110e6263c9b64a128f2a9234cc626a952e7518c423fda703 + HEAD_REF master +) + +# Install header files +file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR}) + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/ctre RENAME copyright) |
