diff --git a/ports/gul14/portfile.cmake b/ports/gul14/portfile.cmake new file mode 100644 index 0000000000..5cc03c7c07 --- /dev/null +++ b/ports/gul14/portfile.cmake @@ -0,0 +1,24 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO gul-cpp/gul14 + REF a6d5612f8074f7defd08de1245fb81ca9866223b # v2.6 as first moved to GitHub + SHA512 4b384252bf5c2fe317d4173bacc59ddc85ebe2fe104909aaf43f537a68879a69f1a271e84b9eed5c79fb1b1c351f744268e542c60c5cb5dace5cd8d1cd663408 + HEAD_REF main +) + +vcpkg_configure_meson( + SOURCE_PATH ${SOURCE_PATH} +) + +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/ports/gul14/vcpkg.json b/ports/gul14/vcpkg.json new file mode 100644 index 0000000000..7bf6ac3ae3 --- /dev/null +++ b/ports/gul14/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "gul14", + "version": "2.6", + "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.desy.de/gul-cpp/gul14.git", + "documentation": "https://winweb.desy.de/mcs/docs/gul/index.html", + "license": "LGPL-2.1-or-later", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-tool-meson", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 2969020215..762c130b76 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2744,6 +2744,10 @@ "baseline": "2022-05-05", "port-version": 0 }, + "gul14": { + "baseline": "2.6", + "port-version": 0 + }, "gumbo": { "baseline": "0.10.1", "port-version": 5 diff --git a/versions/g-/gul14.json b/versions/g-/gul14.json new file mode 100644 index 0000000000..d7c4b807ef --- /dev/null +++ b/versions/g-/gul14.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "7985ecf5f6874b9cf594d43d403820294529d0d3", + "version": "2.6", + "port-version": 0 + } + ] +}