Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ports/libzippp/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Source: libzippp
Version: 2019-07-22
Version: 3.1-1.6.1
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]
17 changes: 10 additions & 7 deletions ports/libzippp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ctabin/libzippp
REF be75a3413b648a3264e94a2c1921c83081dec1e0
SHA512 86c6040bbaea0817486218e96c4d230a328e3560ada41861fbd18d78faa085b158199318d633085e616509084082bf29d6f97afdd2d2dfbc6b843dfbf6a20c85
HEAD_REF master
REF fb07ca80ebda0576366619b87364b4b3a94426df
SHA512 c75518d0dba43ca5ae617569c0e3105af4f903a1226bdae100ee0770b4745ce4c889d29788bd2d75e7c8b556a5c339c0610170a620081d67a86cf6639e9e7fb2
HEAD_REF libzippp-v3.1-1.6.1
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_TESTS=OFF
-DLIBZIPPP_BUILD_TESTS=OFF
OPTIONS_DEBUG
-DINSTALL_HEADERS=OFF
-DLIBZIPPP_INSTALL_HEADERS=OFF
)

vcpkg_install_cmake()

vcpkg_fixup_cmake_targets(CONFIG_PATH "share/libzippp")
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)

Expand Down