From c9ab7da4d468d877bc2edf489cbe9c8d14fc4053 Mon Sep 17 00:00:00 2001 From: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Date: Thu, 8 Apr 2021 03:30:16 +0800 Subject: [fastcdr] Fix support Linux (#17112) * [fastcdr] Fix support Linux * Format json and update versions * Update versions/f-/fastcdr.json --- ports/fastcdr/CONTROL | 5 ----- ports/fastcdr/portfile.cmake | 4 +--- ports/fastcdr/vcpkg.json | 7 +++++++ 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 ports/fastcdr/CONTROL create mode 100644 ports/fastcdr/vcpkg.json (limited to 'ports') diff --git a/ports/fastcdr/CONTROL b/ports/fastcdr/CONTROL deleted file mode 100644 index 87775a41a..000000000 --- a/ports/fastcdr/CONTROL +++ /dev/null @@ -1,5 +0,0 @@ -Source: fastcdr -Version: 1.0.15 -Homepage: https://github.com/eProsima/Fast-CDR -Description: eProsima FastCDR is a C++ library that provides two serialization mechanisms. One is the standard CDR serialization mechanism, while the other is a faster implementation that modifies the standard. -Supports: !linux diff --git a/ports/fastcdr/portfile.cmake b/ports/fastcdr/portfile.cmake index cfb26720a..1bd5034a7 100644 --- a/ports/fastcdr/portfile.cmake +++ b/ports/fastcdr/portfile.cmake @@ -1,5 +1,3 @@ -vcpkg_fail_port_install(ON_TARGET "linux") - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO eProsima/Fast-CDR @@ -35,4 +33,4 @@ else() file(WRITE ${CURRENT_PACKAGES_DIR}/include/fastcdr/config.h "${FASTCDR_H}") endif() -file(INSTALL ${SOURCE_PATH}/license DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/fastcdr/vcpkg.json b/ports/fastcdr/vcpkg.json new file mode 100644 index 000000000..0f2241e4e --- /dev/null +++ b/ports/fastcdr/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "fastcdr", + "version-semver": "1.0.15", + "port-version": 1, + "description": "eProsima FastCDR is a C++ library that provides two serialization mechanisms. One is the standard CDR serialization mechanism, while the other is a faster implementation that modifies the standard.", + "homepage": "https://github.com/eProsima/Fast-CDR" +} -- cgit v1.2.3