aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gul14
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/gul14')
-rw-r--r--vcpkg/ports/gul14/portfile.cmake25
-rw-r--r--vcpkg/ports/gul14/vcpkg.json19
2 files changed, 44 insertions, 0 deletions
diff --git a/vcpkg/ports/gul14/portfile.cmake b/vcpkg/ports/gul14/portfile.cmake
new file mode 100644
index 0000000..3bdd482
--- /dev/null
+++ b/vcpkg/ports/gul14/portfile.cmake
@@ -0,0 +1,25 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO gul-cpp/gul14
+ REF "v${VERSION}"
+ SHA512 50e20163ac0d29b80eb5b7fef3d57ccb8c649096414f432d613a900d8c420aa6847b1f2e47fb34571efc614d965ef265796b29ebf45bc99809ae8c505315c3bc
+ HEAD_REF main
+)
+
+vcpkg_configure_meson(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS -Dtests=false
+)
+
+vcpkg_install_meson()
+
+if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
+endif()
+
+vcpkg_fixup_pkgconfig()
+
+vcpkg_copy_pdbs()
+
+# Install copyright file
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")
diff --git a/vcpkg/ports/gul14/vcpkg.json b/vcpkg/ports/gul14/vcpkg.json
new file mode 100644
index 0000000..a955416
--- /dev/null
+++ b/vcpkg/ports/gul14/vcpkg.json
@@ -0,0 +1,19 @@
+{
+ "name": "gul14",
+ "version": "2.13.1",
+ "description": [
+ "General Utility Library for C++14.",
+ "GUL14 contains often-used utility functions and types that form the foundation for other libraries and programs.",
+ "It provides basic functionality that is not available in the C++14 standard library, including some backports from later versions of the standard."
+ ],
+ "homepage": "https://github.com/gul-cpp/gul14.git",
+ "documentation": "https://gul-cpp.github.io/gul14/",
+ "license": "LGPL-2.1-or-later",
+ "supports": "!uwp & !xbox",
+ "dependencies": [
+ {
+ "name": "vcpkg-tool-meson",
+ "host": true
+ }
+ ]
+}