diff options
| author | Ivy Snow <ivy@sgri.net> | 2018-02-09 16:25:52 +0800 |
|---|---|---|
| committer | Ivy Snow <ivy@sgri.net> | 2018-02-09 16:25:52 +0800 |
| commit | e15a7891d646a92ad1fe445d644aa1951b237e50 (patch) | |
| tree | 4826476d86df5a100c0aed49f5e59d11b11fc033 | |
| parent | 0ef1bbb38cf187064e55bcab50de5012e502b3af (diff) | |
| download | vcpkg-e15a7891d646a92ad1fe445d644aa1951b237e50.tar.gz vcpkg-e15a7891d646a92ad1fe445d644aa1951b237e50.zip | |
[tinydir] 1.2.3 initial.
| -rw-r--r-- | ports/tinydir/CONTROL | 3 | ||||
| -rw-r--r-- | ports/tinydir/portfile.cmake | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/tinydir/CONTROL b/ports/tinydir/CONTROL new file mode 100644 index 000000000..5f4f52d9a --- /dev/null +++ b/ports/tinydir/CONTROL @@ -0,0 +1,3 @@ +Source: tinydir +Version: 1.2.3 +Description: Lightweight, portable and easy to integrate C directory and file reader diff --git a/ports/tinydir/portfile.cmake b/ports/tinydir/portfile.cmake new file mode 100644 index 000000000..19e9a7f48 --- /dev/null +++ b/ports/tinydir/portfile.cmake @@ -0,0 +1,11 @@ +include(vcpkg_common_functions) +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO cxong/tinydir + REF 1.2.3 + SHA512 fa366525558b0932994f93bab7a9edafdc7fe297fc65c2ce8af5b4b05c33c4af4b1fdf72292a7a89dcea4276cf419e3569e41ff1122e0048ad467ed6e33836a2 + HEAD_REF master +) +file(INSTALL ${SOURCE_PATH}/tinydir.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/tinydir RENAME copyright) +vcpkg_copy_pdbs() |
