Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions ports/libinterpolate/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO CD3/libInterpolate
REF ${VERSION}
SHA512 6d53e1fb3af3067ddd13e491563e8da5af9756efba5a2def486f014c23969633ca73cf43dd2f93047716ebb6565f5e9911b6ab85abef2db3b9faefc26ab3aa59
HEAD_REF master
)

set(VCPKG_BUILD_TYPE release) # header-only port

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTS=OFF
-DlibInterpolate_VERSION=${VERSION}
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libInterpolate)
vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")

file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
4 changes: 4 additions & 0 deletions ports/libinterpolate/usage
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
libinterpolate provides CMake targets:

find_package(libInterpolate CONFIG REQUIRED)
target_link_libraries(main PRIVATE libInterpolate::Interpolate)
27 changes: 27 additions & 0 deletions ports/libinterpolate/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "libinterpolate",
"version": "2.7.1",
"description": "Header-only C++ interpolation library.",
"homepage": "https://github.com/CD3/libInterpolate",
"license": "MIT",
"dependencies": [
"boost-geometry",
"boost-headers",
"boost-lexical-cast",
"boost-mpl",
"boost-program-options",
"boost-range",
"boost-tokenizer",
"boost-type-erasure",
"boost-type-traits",
"eigen3",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4768,6 +4768,10 @@
"baseline": "2023-05-13",
"port-version": 0
},
"libinterpolate": {
"baseline": "2.7.1",
"port-version": 0
},
"libirecovery": {
"baseline": "2023-05-13",
"port-version": 2
Expand Down
9 changes: 9 additions & 0 deletions versions/l-/libinterpolate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "19a1aae3d8ceed34a7e04604ee4fdf00faf0040e",
"version": "2.7.1",
"port-version": 0
}
]
}