aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/sord
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/sord')
-rw-r--r--vcpkg/ports/sord/portfile.cmake20
-rw-r--r--vcpkg/ports/sord/vcpkg.json17
2 files changed, 37 insertions, 0 deletions
diff --git a/vcpkg/ports/sord/portfile.cmake b/vcpkg/ports/sord/portfile.cmake
new file mode 100644
index 0000000..b3ecbb0
--- /dev/null
+++ b/vcpkg/ports/sord/portfile.cmake
@@ -0,0 +1,20 @@
+vcpkg_from_gitlab(
+ GITLAB_URL https://gitlab.com
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO drobilla/sord
+ REF "v${VERSION}"
+ SHA512 85aef975dedf8428c6ee21f1e53cafa52ee027a36df9395567983de0d0641aff5556866a4807a6a65170c34a4de42cd2a8e4a7b8734cc253f2c14b61a6bab154
+ HEAD_REF master
+)
+
+vcpkg_configure_meson(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_install_meson()
+
+vcpkg_copy_pdbs()
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+vcpkg_copy_tools(TOOL_NAMES sordi sord_validate AUTO_CLEAN)
+vcpkg_fixup_pkgconfig()
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
diff --git a/vcpkg/ports/sord/vcpkg.json b/vcpkg/ports/sord/vcpkg.json
new file mode 100644
index 0000000..568072b
--- /dev/null
+++ b/vcpkg/ports/sord/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "sord",
+ "version": "0.16.18",
+ "description": "Sord is a lightweight C library for storing RDF statements in memory.",
+ "homepage": "https://drobilla.net/software/sord",
+ "license": "ISC",
+ "supports": "!uwp",
+ "dependencies": [
+ "pcre2",
+ "serd",
+ {
+ "name": "vcpkg-tool-meson",
+ "host": true
+ },
+ "zix"
+ ]
+}