diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2020-10-09 03:30:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-08 12:30:58 -0700 |
| commit | 7bb217d9898fb13fa032731aef635ec66c7625b6 (patch) | |
| tree | 4e1b04cf61d8a2ce0bfcc2ad84257000eb92f1cd /ports | |
| parent | fdcfd8e5d79a9551249b60251edb81733fd227db (diff) | |
| download | vcpkg-7bb217d9898fb13fa032731aef635ec66c7625b6.tar.gz vcpkg-7bb217d9898fb13fa032731aef635ec66c7625b6.zip | |
[7zip] Add supports field (#13821)
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/7zip/CONTROL | 4 | ||||
| -rw-r--r-- | ports/7zip/portfile.cmake | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ports/7zip/CONTROL b/ports/7zip/CONTROL index 73150ef44..b37fa18d1 100644 --- a/ports/7zip/CONTROL +++ b/ports/7zip/CONTROL @@ -1,4 +1,6 @@ Source: 7zip
Version: 19.00
-Port-Version: 1
+Port-Version: 2
+Homepage: https://www.7-zip.org
Description: Library for archiving file with a high compression ratio.
+Supports: !(linux|osx|arm|uwp)
diff --git a/ports/7zip/portfile.cmake b/ports/7zip/portfile.cmake index 83515438c..bffb9b4df 100644 --- a/ports/7zip/portfile.cmake +++ b/ports/7zip/portfile.cmake @@ -1,4 +1,4 @@ -include(vcpkg_common_functions)
+vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp" "linux" "osx")
set(7ZIP_VERSION 19.00)
vcpkg_download_distfile(ARCHIVE
@@ -27,8 +27,6 @@ vcpkg_copy_pdbs() file(
INSTALL ${CMAKE_CURRENT_LIST_DIR}/License.txt
- DESTINATION ${CURRENT_PACKAGES_DIR}/share/7zip
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
RENAME copyright
)
-
-vcpkg_test_cmake(PACKAGE_NAME 7zip)
|
