diff options
Diffstat (limited to 'vcpkg/ports/sqlite-modern-cpp')
| -rw-r--r-- | vcpkg/ports/sqlite-modern-cpp/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/sqlite-modern-cpp/vcpkg.json | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/sqlite-modern-cpp/portfile.cmake b/vcpkg/ports/sqlite-modern-cpp/portfile.cmake new file mode 100644 index 0000000..d51a1c5 --- /dev/null +++ b/vcpkg/ports/sqlite-modern-cpp/portfile.cmake @@ -0,0 +1,13 @@ +# header only
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO SqliteModernCpp/sqlite_modern_cpp
+ REF 6e3009973025e0016d5573529067714201338c80
+ SHA512 a007c739e00b9bd51d19f3bc484709f9fc4637f0262b636b51ee95cbc7f3f7fe6551dcbf0990a0430ac12f276bb72d1e0a3b71f06ac6e6d19fb46d51066a4295
+ HEAD_REF master
+)
+
+file(INSTALL ${SOURCE_PATH}/hdr/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/sqlite-modern-cpp)
+file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/sqlite-modern-cpp RENAME copyright)
diff --git a/vcpkg/ports/sqlite-modern-cpp/vcpkg.json b/vcpkg/ports/sqlite-modern-cpp/vcpkg.json new file mode 100644 index 0000000..dd55046 --- /dev/null +++ b/vcpkg/ports/sqlite-modern-cpp/vcpkg.json @@ -0,0 +1,9 @@ +{ + "name": "sqlite-modern-cpp", + "version-date": "2023-12-03", + "description": "The C++14 wrapper around sqlite library", + "homepage": "https://github.com/aminroosta/sqlite_modern_cpp", + "dependencies": [ + "sqlite3" + ] +} |