aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/iir1/portfile.cmake25
-rw-r--r--ports/iir1/vcpkg.json8
2 files changed, 33 insertions, 0 deletions
diff --git a/ports/iir1/portfile.cmake b/ports/iir1/portfile.cmake
new file mode 100644
index 000000000..3babc1b2e
--- /dev/null
+++ b/ports/iir1/portfile.cmake
@@ -0,0 +1,25 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO berndporr/iir1
+ REF 67591c8eac591c576b9aabe9a2f288296bb263f0 #1.8.0
+ SHA512 7bea56bd3a5251656834f43ea55e1a8bff48ed2b5576ea9d7bc058e371457b7a3e8fe26111ec9457d4aa9e397f3267d330c5353aea00810a5cc4d9bec2bdcc72
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
+
+vcpkg_copy_pdbs()
+
+file(INSTALL ${SOURCE_PATH}/COPYING
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
+ RENAME copyright
+)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
diff --git a/ports/iir1/vcpkg.json b/ports/iir1/vcpkg.json
new file mode 100644
index 000000000..c99eb9018
--- /dev/null
+++ b/ports/iir1/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "iir1",
+ "version": "1.8.0",
+ "description": "Realtime C++ filter library",
+ "homepage": "https://github.com/berndporr/iir1",
+ "license": "MIT",
+ "supports": "!uwp & !osx"
+}