diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-06-05 03:00:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-04 12:00:29 -0700 |
| commit | 9d727caa3f3e253945e5e0cf3d927e08c85746ba (patch) | |
| tree | 54f60eeff92fc0700a9de055596d1633c2353070 | |
| parent | 3eeeb1b0d346570813f2257238bf3ad4fe5f752d (diff) | |
| download | vcpkg-9d727caa3f3e253945e5e0cf3d927e08c85746ba.tar.gz vcpkg-9d727caa3f3e253945e5e0cf3d927e08c85746ba.zip | |
[nowide] Set the ports to empty package (#11732)
| -rw-r--r-- | ports/nowide/CONTROL | 5 | ||||
| -rw-r--r-- | ports/nowide/portfile.cmake | 25 |
2 files changed, 4 insertions, 26 deletions
diff --git a/ports/nowide/CONTROL b/ports/nowide/CONTROL index 19327d7b5..78de4cf19 100644 --- a/ports/nowide/CONTROL +++ b/ports/nowide/CONTROL @@ -1,4 +1,5 @@ Source: nowide
-Version: 10.0.1
+Version: alias
Homepage: https://github.com/boostorg/nowide
-Description: Boost nowide module (standalone)
+Build-Depends: boost-nowide
+Description: Deprecated alias for Boost nowide module
diff --git a/ports/nowide/portfile.cmake b/ports/nowide/portfile.cmake index 132f4bcf9..9aefc8241 100644 --- a/ports/nowide/portfile.cmake +++ b/ports/nowide/portfile.cmake @@ -1,24 +1 @@ -vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/boostorg/nowide/releases/download/v10.0.1/nowide_standalone_v10.0.1.tar.gz"
- FILENAME "nowide_standalone_v10.0.1.tar.gz"
- SHA512 b349983127532fcfcb2bd29ce327634ea8d980e1da6a67fe44d0a5761a81c6cc78e518439970099b155732c3edb0fa8f1f1a1df5018d59b8cb699626c121f95e
-)
-
-vcpkg_extract_source_archive_ex(
- OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
-)
-
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
- OPTIONS -DBUILD_TESTING=OFF
-)
-
-vcpkg_install_cmake()
-
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/nowide TARGET_PATH share/${PORT})
-
-file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
