mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
[hyperscan] Update the portfile to remove debug/share file to pass post-validation check. (#9618)
This commit is contained in:
parent
d19c61353d
commit
141522e6ed
@ -1,4 +1,4 @@
|
||||
Source: hyperscan
|
||||
Version: 5.0.1-2
|
||||
Version: 5.1.0-3
|
||||
Description: A regular expression library with O(length of input) match times that takes advantage of Intel hardware to provide blazing speed.
|
||||
Build-Depends: boost-array, boost-chrono, boost-config, boost-core, boost-detail, boost-functional, boost-regex, boost-system, boost-thread, boost-type-traits, boost-unordered, boost-utility, boost-dynamic-bitset, boost-random, boost-graph, boost-multi-array, boost-icl, boost-ptr-container, python3, ragel
|
||||
Build-Depends: boost-array, boost-chrono, boost-config, boost-core, boost-detail, boost-functional, boost-regex, boost-system, boost-thread, boost-type-traits, boost-unordered, boost-utility, boost-dynamic-bitset, boost-random, boost-graph, boost-multi-array, boost-icl, boost-ptr-container, python3, ragel
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(HYPERSCAN_VERSION 5.1.0)
|
||||
@ -13,11 +11,8 @@ vcpkg_from_github(
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
get_filename_component(PYTHON_PATH ${PYTHON3} DIRECTORY)
|
||||
vcpkg_add_to_path(PREPEND ${PYTHON_PATH})
|
||||
vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/bin)
|
||||
vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/debug/bin)
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
get_filename_component(PYTHON3_PATH ${PYTHON3} DIRECTORY)
|
||||
vcpkg_add_to_path(${PYTHON3_PATH})
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
@ -26,5 +21,6 @@ vcpkg_configure_cmake(
|
||||
|
||||
vcpkg_install_cmake()
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
Loading…
x
Reference in New Issue
Block a user