mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 11:58:59 +08:00
Update to libzippp-4.0-1.7.3 (#13620)
Co-authored-by: Cédric Tabin <cedric.tabin@gmail.com>
This commit is contained in:
parent
256d8a497a
commit
e040433ae0
@ -1,5 +1,5 @@
|
||||
Source: libzippp
|
||||
Version: 3.1-1.6.1
|
||||
Version: 4.0-1.7.3
|
||||
Homepage: https://github.com/ctabin/libzippp
|
||||
Description: Simple basic C++ wrapper around the libzip library. It is meant to be a portable and easy-to-use library for ZIP handling
|
||||
Build-Depends: zlib, libzip[bzip2]
|
||||
|
@ -1,30 +1,30 @@
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ctabin/libzippp
|
||||
REF fb07ca80ebda0576366619b87364b4b3a94426df
|
||||
SHA512 c75518d0dba43ca5ae617569c0e3105af4f903a1226bdae100ee0770b4745ce4c889d29788bd2d75e7c8b556a5c339c0610170a620081d67a86cf6639e9e7fb2
|
||||
HEAD_REF libzippp-v3.1-1.6.1
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DLIBZIPPP_BUILD_TESTS=OFF
|
||||
OPTIONS_DEBUG
|
||||
-DLIBZIPPP_INSTALL_HEADERS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
if(WIN32)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH "cmake/libzippp")
|
||||
else()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH "share/libzippp")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENCE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libzippp RENAME copyright)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ctabin/libzippp
|
||||
REF 791bdc43eb18b87e3bdfa087493e3e32217e672c #v4.0-1.7.3 with CXX std version c++11
|
||||
SHA512 c6a90ecec21bb2d9e3af681c35d7eec0bee7b356fc1438004dc84be32ee7b94d047c35817d46b222237d54699ea54afa4fd3ae5deeba40dfce4fd2035a38b0e5
|
||||
HEAD_REF libzippp-v4.0-1.7.3
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DLIBZIPPP_BUILD_TESTS=OFF
|
||||
OPTIONS_DEBUG
|
||||
-DLIBZIPPP_INSTALL_HEADERS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
if(WIN32)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH "cmake/libzippp")
|
||||
else()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH "share/libzippp")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENCE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libzippp RENAME copyright)
|
||||
|
Loading…
Reference in New Issue
Block a user