[liblemon] Fix post-build failed (#10106)

* [liblemon] Fix post-build failed

* Update homepage field in CONTROL
This commit is contained in:
NancyLi1013 2020-03-11 08:19:18 +08:00 committed by GitHub
parent 83da216ce5
commit 980331d7a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,4 @@
Source: liblemon
Version: 2019-06-13
Version: 2019-06-13-1
Homepage: https://lemon.cs.elte.hu/trac/lemon
Description: Library for Efficient Modeling and Optimization in Networks

View File

@ -1,5 +1,3 @@
include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(VERSION ed2c21cbd6ef)
@ -15,8 +13,8 @@ vcpkg_extract_source_archive_ex(
ARCHIVE ${ARCHIVE}
REF ${VERSION}
PATCHES
"cmake.patch"
"fixup-targets.patch"
cmake.patch
fixup-targets.patch
)
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/share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/doc)
# 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)