aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2020-03-11 08:19:18 +0800
committerGitHub <noreply@github.com>2020-03-10 17:19:18 -0700
commit980331d7a608bfbf70fd74b4a5f12885542342bd (patch)
tree86731b1e1cf70992f160b8e4eda578368bfa3adb
parent83da216ce5923436404f6ecb5553e42a2e26d2f4 (diff)
downloadvcpkg-980331d7a608bfbf70fd74b4a5f12885542342bd.tar.gz
vcpkg-980331d7a608bfbf70fd74b4a5f12885542342bd.zip
[liblemon] Fix post-build failed (#10106)
* [liblemon] Fix post-build failed * Update homepage field in CONTROL
-rw-r--r--ports/liblemon/CONTROL5
-rw-r--r--ports/liblemon/portfile.cmake9
2 files changed, 7 insertions, 7 deletions
diff --git a/ports/liblemon/CONTROL b/ports/liblemon/CONTROL
index 1ec6050e0..3463c5e30 100644
--- a/ports/liblemon/CONTROL
+++ b/ports/liblemon/CONTROL
@@ -1,3 +1,4 @@
Source: liblemon
-Version: 2019-06-13
-Description: Library for Efficient Modeling and Optimization in Networks
+Version: 2019-06-13-1
+Homepage: https://lemon.cs.elte.hu/trac/lemon
+Description: Library for Efficient Modeling and Optimization in Networks \ No newline at end of file
diff --git a/ports/liblemon/portfile.cmake b/ports/liblemon/portfile.cmake
index 960b09987..14eebfe6c 100644
--- a/ports/liblemon/portfile.cmake
+++ b/ports/liblemon/portfile.cmake
@@ -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) \ No newline at end of file