diff options
| author | Park DongHa <luncliff@gmail.com> | 2021-06-11 08:13:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-10 16:13:36 -0700 |
| commit | 96bc28ea592fd401ee4c7c3d4845fb9a75a4ed43 (patch) | |
| tree | 3507a0874e00d8935b772e46cf3b34fb67831447 | |
| parent | 42f2d6f4d6af2edaa8d0a65ad4f194febc270fd2 (diff) | |
| download | vcpkg-96bc28ea592fd401ee4c7c3d4845fb9a75a4ed43.tar.gz vcpkg-96bc28ea592fd401ee4c7c3d4845fb9a75a4ed43.zip | |
[zlib-ng] create a new port (#18223)
* [zlib-ng] create a new port
* [zlib-ng] update baseline
* [zlib-ng] remove zlib-compat
* [zlib-ng] remove unused dependency
| -rw-r--r-- | ports/zlib-ng/portfile.cmake | 27 | ||||
| -rw-r--r-- | ports/zlib-ng/vcpkg.json | 13 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/z-/zlib-ng.json | 9 |
4 files changed, 53 insertions, 0 deletions
diff --git a/ports/zlib-ng/portfile.cmake b/ports/zlib-ng/portfile.cmake new file mode 100644 index 000000000..778e08c9d --- /dev/null +++ b/ports/zlib-ng/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO zlib-ng/zlib-ng
+ REF 2.0.3
+ SHA512 e1afe91e1a8b4c54a004b672f539ae68f7dc1f1b08ba93514c0de674230354c944d496753f00ad272f16ef322705f275b5b72dac6c2a757ec741ef3f1ea1d59a
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS
+ -DZLIB_FULL_VERSION=2.0.3
+ -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
+)
\ No newline at end of file diff --git a/ports/zlib-ng/vcpkg.json b/ports/zlib-ng/vcpkg.json new file mode 100644 index 000000000..b7b2ae463 --- /dev/null +++ b/ports/zlib-ng/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "zlib-ng", + "version": "2.0.3", + "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 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 796b045ab..4478d5b4f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6812,6 +6812,10 @@ "baseline": "1.2.11", "port-version": 10 }, + "zlib-ng": { + "baseline": "2.0.3", + "port-version": 0 + }, "zookeeper": { "baseline": "3.5.5-1", "port-version": 0 diff --git a/versions/z-/zlib-ng.json b/versions/z-/zlib-ng.json new file mode 100644 index 000000000..2898b8503 --- /dev/null +++ b/versions/z-/zlib-ng.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "7020274700cc1aaa817aa752f36a423fed7c095c", + "version": "2.0.3", + "port-version": 0 + } + ] +} |
