[bzip2] Update repository (#18705)

* [bzip2] Update repository

* Update version files
This commit is contained in:
NancyLi1013 2021-07-02 01:14:42 +08:00 committed by GitHub
parent 7338d7ec1a
commit 8bb3f9e4a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 9 deletions

View File

@ -1,10 +1,14 @@
vcpkg_from_git(
set(BZIP2_VERSION 1.0.8)
vcpkg_download_distfile(ARCHIVE
URLS "https://sourceware.org/pub/bzip2/bzip2-${BZIP2_VERSION}.tar.gz"
FILENAME "bzip2-${BZIP2_VERSION}.tar.gz"
SHA512 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3
)
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
URL https://sourceware.org/git/bzip2.git
REF 75a94bea3918e612b879d6a11ca64b8689526147 # REFERENCE BZIP2 VERSION 1.0.8
SHA512 4611105f9090477b5f6f6dbd303a282099df71644e04d8a998ef81de487f6c8cac4c0ec1283ad737f6767c51f1e3b4e24e2ee021c6dd085925617d9ed145b2ba
PATCHES
fix-import-export-macros.patch
ARCHIVE ${ARCHIVE}
PATCHES fix-import-export-macros.patch
)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")

View File

@ -1,7 +1,7 @@
{
"name": "bzip2",
"version-string": "1.0.8",
"port-version": 1,
"version-semver": "1.0.8",
"port-version": 2,
"description": "bzip2 is a freely available, patent free, high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression.",
"homepage": "https://sourceware.org/bzip2/",
"documentation": "https://sourceware.org/bzip2/docs.html"

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a1ea352502e69888a565563d9151d3f7ab609fb1",
"version-semver": "1.0.8",
"port-version": 2
},
{
"git-tree": "5a1b1b8d666b9ef64e8596e4716c2e2f654f4532",
"version-string": "1.0.8",

View File

@ -1090,7 +1090,7 @@
},
"bzip2": {
"baseline": "1.0.8",
"port-version": 1
"port-version": 2
},
"c-ares": {
"baseline": "1.17.1",