vcpkg/ports/iir1/portfile.cmake
YiChih Wang 76ab38bbd9
[iir1] Add new port (#16436)
* [iir1] Add new port

* [iir1] Update portfile.cmake

Note:
- Replace vcpkg_download_distfile() with vcpkg_from_github() function

* [iir1] Update vcpkg.json

Note:
- Modify manifest property of package version

* [iir1] Precede four space before each parameter in the vcpkg_from_github()

* [iir1] Update iir1.json

* Update ports/iir1/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

Co-authored-by: YiChih Wang <andywang0607@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-29 10:08:29 -07:00

26 lines
638 B
CMake

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")