aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/buck-yeh-bux-sqlite/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/buck-yeh-bux-sqlite/portfile.cmake')
-rw-r--r--vcpkg/ports/buck-yeh-bux-sqlite/portfile.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/buck-yeh-bux-sqlite/portfile.cmake b/vcpkg/ports/buck-yeh-bux-sqlite/portfile.cmake
new file mode 100644
index 0000000..b2706e2
--- /dev/null
+++ b/vcpkg/ports/buck-yeh-bux-sqlite/portfile.cmake
@@ -0,0 +1,15 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO buck-yeh/bux-sqlite
+ REF "${VERSION}"
+ SHA512 ccfeb141530efcf8233bd3579ba6eb17e7decc1d4fa92706f0810824303078e7f379a9c81a777189860e53c866b9c338b51b2f5884958782d02f7d79d7fb575c
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)