aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/thermadiag-seq
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/thermadiag-seq')
-rw-r--r--vcpkg/ports/thermadiag-seq/portfile.cmake25
-rw-r--r--vcpkg/ports/thermadiag-seq/vcpkg.json17
2 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/thermadiag-seq/portfile.cmake b/vcpkg/ports/thermadiag-seq/portfile.cmake
new file mode 100644
index 0000000..e5b0b0b
--- /dev/null
+++ b/vcpkg/ports/thermadiag-seq/portfile.cmake
@@ -0,0 +1,25 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Thermadiag/seq
+ REF "v${VERSION}"
+ SHA512 a784727e9b720e811ffd4431b194305fdabd5719abeb69df6d6a85e4f16f796ab702e1c4790a3509f70f52d00f38b1775daab33648b781b7771d165c328692f8
+ HEAD_REF main
+)
+
+set(VCPKG_BUILD_TYPE release) # header-only port
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DSEQ_BUILD_TESTS=OFF
+ -DSEQ_BUILD_BENCHS=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(PACKAGE_NAME seq CONFIG_PATH lib/cmake/seq)
+vcpkg_fixup_pkgconfig()
+file(RENAME "${CURRENT_PACKAGES_DIR}/share/pkgconfig/seq.pc" "${CURRENT_PACKAGES_DIR}/share/pkgconfig/${PORT}.pc")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/thermadiag-seq/vcpkg.json b/vcpkg/ports/thermadiag-seq/vcpkg.json
new file mode 100644
index 0000000..383b7eb
--- /dev/null
+++ b/vcpkg/ports/thermadiag-seq/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "thermadiag-seq",
+ "version": "2.0",
+ "description": "a collection of original C++17 STL-like containers and related tools",
+ "homepage": "https://github.com/Thermadiag/seq",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}