mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:53:02 +08:00
[liblemon] Fix post-build failed (#10106)
* [liblemon] Fix post-build failed * Update homepage field in CONTROL
This commit is contained in:
parent
83da216ce5
commit
980331d7a6
@ -1,3 +1,4 @@
|
|||||||
Source: liblemon
|
Source: liblemon
|
||||||
Version: 2019-06-13
|
Version: 2019-06-13-1
|
||||||
Description: Library for Efficient Modeling and Optimization in Networks
|
Homepage: https://lemon.cs.elte.hu/trac/lemon
|
||||||
|
Description: Library for Efficient Modeling and Optimization in Networks
|
@ -1,5 +1,3 @@
|
|||||||
include(vcpkg_common_functions)
|
|
||||||
|
|
||||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||||
|
|
||||||
set(VERSION ed2c21cbd6ef)
|
set(VERSION ed2c21cbd6ef)
|
||||||
@ -15,8 +13,8 @@ vcpkg_extract_source_archive_ex(
|
|||||||
ARCHIVE ${ARCHIVE}
|
ARCHIVE ${ARCHIVE}
|
||||||
REF ${VERSION}
|
REF ${VERSION}
|
||||||
PATCHES
|
PATCHES
|
||||||
"cmake.patch"
|
cmake.patch
|
||||||
"fixup-targets.patch"
|
fixup-targets.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
@ -40,6 +38,7 @@ vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/liblemon)
|
|||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/doc)
|
||||||
|
|
||||||
# Handle copyright
|
# Handle copyright
|
||||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/liblemon RENAME copyright)
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
Loading…
Reference in New Issue
Block a user