diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/libp7-baical/CONTROL | 5 | ||||
| -rw-r--r-- | ports/libp7-baical/portfile.cmake | 14 |
2 files changed, 6 insertions, 13 deletions
diff --git a/ports/libp7-baical/CONTROL b/ports/libp7-baical/CONTROL index 80037450b..179d6d825 100644 --- a/ports/libp7-baical/CONTROL +++ b/ports/libp7-baical/CONTROL @@ -1,5 +1,6 @@ Source: libp7-baical -Version: 4.4-4 +Version: 4.4 +Port-Version: 5 Homepage: https://baical.net/ Description: P7 is a library for high-speed sending telemetry & trace data from application -Supports: !(arm|uwp)
\ No newline at end of file +Supports: !(arm|uwp|osx)
\ No newline at end of file diff --git a/ports/libp7-baical/portfile.cmake b/ports/libp7-baical/portfile.cmake index bae7c896e..d6fc5f9de 100644 --- a/ports/libp7-baical/portfile.cmake +++ b/ports/libp7-baical/portfile.cmake @@ -1,12 +1,4 @@ -include(vcpkg_common_functions) - -if(VCPKG_TARGET_ARCHITECTURE STREQUAL arm) - message(FATAL_ERROR "libP7 does not support ARM") -endif() - -if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") - message(FATAL_ERROR "libP7 does not support UWP") -endif() +vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp" "osx") set(LIBP7_VERSION 4.4) set(LIBP7_HASH 500fefdf6fb01999ddb2accc8309cf8749fb7a65abb98faaf6d71a5ae3da4eac8c00c083905b01f7f6cc973387b605f2c4db0bb007562f76b7ad43b6abe2b91f) @@ -20,6 +12,7 @@ vcpkg_download_distfile(ARCHIVE vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH ARCHIVE ${ARCHIVE} + NO_REMOVE_ONE_LEVEL ) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) @@ -34,5 +27,4 @@ vcpkg_copy_pdbs() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) -file(COPY ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/libp7-baical/) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/libp7-baical/License.txt ${CURRENT_PACKAGES_DIR}/share/libp7-baical/copyright)
\ No newline at end of file +file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file |
