diff options
| author | myd7349 <myd7349@gmail.com> | 2020-09-21 11:35:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-20 20:35:27 -0700 |
| commit | 2a6442cb934de2f99c8ac5bbd8a9dcf5538aee98 (patch) | |
| tree | 2ed5cb974003acebfe2b59b312614d166275531e | |
| parent | 2ad537e3233c8e5214d48795347797281fca1f48 (diff) | |
| download | vcpkg-2a6442cb934de2f99c8ac5bbd8a9dcf5538aee98.tar.gz vcpkg-2a6442cb934de2f99c8ac5bbd8a9dcf5538aee98.zip | |
[unqlite] Add new port (#13544)
| -rw-r--r-- | ports/unqlite/portfile.cmake | 20 | ||||
| -rw-r--r-- | ports/unqlite/vcpkg.json | 7 |
2 files changed, 27 insertions, 0 deletions
diff --git a/ports/unqlite/portfile.cmake b/ports/unqlite/portfile.cmake new file mode 100644 index 000000000..a976c307f --- /dev/null +++ b/ports/unqlite/portfile.cmake @@ -0,0 +1,20 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO symisc/unqlite + REF ddb1687036d207bbfc67b98cb470fe52ddf22f62 # 1.1.9 + SHA512 eaabaf5f35662a6ea734c18878f55f5e6e956cd151bb941321f97247bbe0b7f402ceca39c191d31e87db1c04188ca0eaf69c9b202848babfe23d5ffee48df9a7 + HEAD_REF master +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA +) + +vcpkg_install_cmake() + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) + +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/unqlite/vcpkg.json b/ports/unqlite/vcpkg.json new file mode 100644 index 000000000..4efa6c6ca --- /dev/null +++ b/ports/unqlite/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "unqlite", + "version-string": "1.1.9", + "description": "An embedded NoSQL, transactional database engine", + "homepage": "https://unqlite.org/", + "license": "BSD-2-Clause" +} |
