early-access version 2853
This commit is contained in:
29
externals/vcpkg/ports/zlib-ng/portfile.cmake
vendored
Executable file
29
externals/vcpkg/ports/zlib-ng/portfile.cmake
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
set(ZLIB_FULL_VERSION 2.0.6)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO zlib-ng/zlib-ng
|
||||
REF "${ZLIB_FULL_VERSION}"
|
||||
SHA512 4888f17160d0a87a9b349704047ae0d0dc57237a10e11adae09ace957afa9743cce5191db67cb082991421fc961ce68011199621034d2369c0e7724fad58b4c5
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
"-DZLIB_FULL_VERSION=${ZLIB_FULL_VERSION}"
|
||||
-DZLIB_ENABLE_TESTS=OFF
|
||||
-DWITH_NEW_STRATEGIES=ON
|
||||
OPTIONS_RELEASE
|
||||
-DWITH_OPTIM=ON
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/include"
|
||||
)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.md"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright
|
||||
)
|
||||
13
externals/vcpkg/ports/zlib-ng/vcpkg.json
vendored
Executable file
13
externals/vcpkg/ports/zlib-ng/vcpkg.json
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "zlib-ng",
|
||||
"version": "2.0.6",
|
||||
"description": "zlib replacement with optimizations for 'next generation' systems",
|
||||
"homepage": "https://github.com/zlib-ng/zlib-ng",
|
||||
"license": "Zlib",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user