diff options
| author | Erwan BERNARD <edmBernard@users.noreply.github.com> | 2018-05-06 01:44:32 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-05-05 16:44:32 -0700 |
| commit | 541f2e2ea547e9223d9500992bbb3ebea085aee9 (patch) | |
| tree | a6424685337ee965c81c2a3670ed3ac0a948e329 | |
| parent | 44b894326246dfd6114cd70d6373a9253e0a604c (diff) | |
| download | vcpkg-541f2e2ea547e9223d9500992bbb3ebea085aee9.tar.gz vcpkg-541f2e2ea547e9223d9500992bbb3ebea085aee9.zip | |
[inja] add inja (#3428)
| -rw-r--r-- | ports/inja/CONTROL | 4 | ||||
| -rw-r--r-- | ports/inja/portfile.cmake | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/ports/inja/CONTROL b/ports/inja/CONTROL new file mode 100644 index 000000000..a905ab796 --- /dev/null +++ b/ports/inja/CONTROL @@ -0,0 +1,4 @@ +Source: inja +Version: 1.0.0 +Build-Depends: nlohmann-json +Description: Inja - A Template Engine for Modern C++ diff --git a/ports/inja/portfile.cmake b/ports/inja/portfile.cmake new file mode 100644 index 000000000..dc9dc1a6b --- /dev/null +++ b/ports/inja/portfile.cmake @@ -0,0 +1,11 @@ +include(vcpkg_common_functions) +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO pantor/inja + REF v1.0.0 + SHA512 39598df84766a0d2a28dc92e083e27b7072600372e0313727cd5dd1fe6ad1efc055dc98055247f5cb1fc4096ffb37b59995107f3456a4495bd01381ac6c74a2b + HEAD_REF master +) +file(INSTALL ${SOURCE_PATH}/src/inja.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/src/inja.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/inja RENAME copyright) +vcpkg_copy_pdbs() |
