early-access version 2853
This commit is contained in:
21
externals/vcpkg/ports/pistache/portfile.cmake
vendored
Executable file
21
externals/vcpkg/ports/pistache/portfile.cmake
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
if(NOT VCPKG_TARGET_IS_LINUX)
|
||||
message(FATAL_ERROR "${PORT} currently only supports Linux platform.")
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO pistacheio/pistache
|
||||
REF 9dc080b9ebbe6fc1726b45e9db1550305938313e #2021-03-31
|
||||
SHA512 b55c395fb98af85317590ed2502564af5e92e30a35618132568c6ab589a6d0971570ad20ddbd1f49d9dd8cf54692866c69cfc1350c6fdccf9efb039aacf153b4
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_meson(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
vcpkg_install_meson()
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
15
externals/vcpkg/ports/pistache/vcpkg.json
vendored
Executable file
15
externals/vcpkg/ports/pistache/vcpkg.json
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "pistache",
|
||||
"version-date": "2021-03-31",
|
||||
"port-version": 3,
|
||||
"description": "Pistache is a modern and elegant HTTP and REST framework for C++. It is entirely written in pure-C++11 and provides a clear and pleasant API",
|
||||
"homepage": "https://github.com/oktal/pistache",
|
||||
"supports": "linux",
|
||||
"dependencies": [
|
||||
"rapidjson",
|
||||
{
|
||||
"name": "vcpkg-tool-meson",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user