aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pfultz2-linq
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/pfultz2-linq
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/pfultz2-linq')
-rw-r--r--vcpkg/ports/pfultz2-linq/portfile.cmake24
-rw-r--r--vcpkg/ports/pfultz2-linq/vcpkg.json26
2 files changed, 50 insertions, 0 deletions
diff --git a/vcpkg/ports/pfultz2-linq/portfile.cmake b/vcpkg/ports/pfultz2-linq/portfile.cmake
new file mode 100644
index 0000000..4339a95
--- /dev/null
+++ b/vcpkg/ports/pfultz2-linq/portfile.cmake
@@ -0,0 +1,24 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO pfultz2/Linq
+ REF 7ff0a73fed52be5e11df3d79128ce7b11f430af2
+ SHA512 6768e28bf17568436b4c3fed18f6b1edbe048b871ebee25580419b805498beb0800e473ecdc5acc0f9f89bec47d16fd3806018ce6395bdf14a8e2975cde9381f
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_TESTING=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/linq PACKAGE_NAME linq)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
+
+# Handle copyright
+configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
diff --git a/vcpkg/ports/pfultz2-linq/vcpkg.json b/vcpkg/ports/pfultz2-linq/vcpkg.json
new file mode 100644
index 0000000..2c7c45b
--- /dev/null
+++ b/vcpkg/ports/pfultz2-linq/vcpkg.json
@@ -0,0 +1,26 @@
+{
+ "name": "pfultz2-linq",
+ "version-date": "2019-05-14",
+ "port-version": 3,
+ "description": "Linq for list comprehension in C++",
+ "dependencies": [
+ "boost-fusion",
+ "boost-iterator",
+ "boost-mpl",
+ "boost-optional",
+ "boost-preprocessor",
+ "boost-range",
+ "boost-static-assert",
+ "boost-type-traits",
+ "boost-unordered",
+ "boost-utility",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}