зеркало из https://github.com/microsoft/vcpkg.git
[zeromq] Add feature draft (#14642)
* [zeromq] Add feature draft * Modify protfile copyrigt
This commit is contained in:
Родитель
4c17d2a2c2
Коммит
3c9afa7a20
|
@ -1,6 +1,6 @@
|
|||
Source: zeromq
|
||||
Version: 2019-09-20
|
||||
Port-Version: 1
|
||||
Port-Version: 2
|
||||
Homepage: https://github.com/zeromq/libzmq
|
||||
Description: The ZeroMQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products
|
||||
|
||||
|
@ -10,3 +10,6 @@ Build-Depends: libsodium
|
|||
|
||||
Feature: websockets-sha1
|
||||
Description: Enable WebSocket transport through builtin sha1 (libzmq#3676)
|
||||
|
||||
Feature: draft
|
||||
Description: Build and install draft APIs
|
||||
|
|
|
@ -13,6 +13,7 @@ vcpkg_check_features(
|
|||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
sodium WITH_LIBSODIUM
|
||||
draft ENABLE_DRAFTS
|
||||
INVERTED_FEATURES
|
||||
websockets-sha1 DISABLE_WS
|
||||
)
|
||||
|
@ -67,6 +68,6 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|||
endif()
|
||||
|
||||
# Handle copyright
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/zmq/COPYING.LESSER.txt ${CURRENT_PACKAGES_DIR}/share/zeromq/copyright)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/zmq/COPYING.LESSER.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share ${CURRENT_PACKAGES_DIR}/share/zmq)
|
||||
|
|
Загрузка…
Ссылка в новой задаче