vcpkg/ports/libarchive/vcpkg.json
Kai Pastor 845a5fda11
[libarchive,lz4] Fix pc file, modernize portfile (#20146)
* Fix pc file

* Modernize portfile

* OpenSSL unused on 'Darwin'

* x-add-version

* More port cleanup (CR requests)

* Revise wrapper, using find_package

* Don't use pkgconfig modules for windows openssl

* Update versions

* Use namespaced variables for custom lzo lookup

* Wrapper needs CMP0012

* Skip dependencies if not LibArchive_FOUND

* Update versions

* Fix liblz4.pc debug lib fixup

* Update versions

Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-09-24 12:06:17 -07:00

71 lines
1.3 KiB
JSON

{
"name": "libarchive",
"version-semver": "3.5.2",
"port-version": 1,
"description": "Library for reading and writing streaming archives",
"homepage": "https://github.com/libarchive/libarchive",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
"zlib"
],
"default-features": [
"bzip2",
"libxml2",
"lz4",
"lzma",
"openssl",
"zstd"
],
"features": {
"bzip2": {
"description": "BZip2 support",
"dependencies": [
"bzip2"
]
},
"libxml2": {
"description": "Libxml2 support",
"dependencies": [
"libxml2"
]
},
"lz4": {
"description": "Lz4 support",
"dependencies": [
"lz4"
]
},
"lzma": {
"description": "Lzma support",
"dependencies": [
"liblzma"
]
},
"lzo": {
"description": "Lzo support",
"dependencies": [
"lzo"
]
},
"openssl": {
"description": "OpenSSL support (not available on macOS)",
"dependencies": [
{
"name": "openssl",
"platform": "!osx"
}
]
},
"zstd": {
"description": "Zstd support",
"dependencies": [
"zstd"
]
}
}
}