36 lines
763 B
TOML
36 lines
763 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[dependencies]
|
|
runtime = ["glibc"]
|
|
build = [ "cmake", "ninja" ]
|
|
|
|
[dependencies.lib32]
|
|
runtime = [ "lib32-glibc" ]
|
|
build = [ "cmake", "ninja" ]
|
|
|
|
[package]
|
|
description = 'zlib replacement with optimizations for "next generation" systems'
|
|
homepage = "https://github.com/zlib-ng/zlib-ng"
|
|
license = "Zlib"
|
|
name = "zlib-ng"
|
|
version = "2.3.3"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "f9c65aa9c852eb8255b636fd9f07ce1c406f061ec19a2e7d508b318ca0c907d1"
|
|
url = "https://github.com/zlib-ng/zlib-ng/archive/refs/tags/2.3.3.tar.gz"
|
|
|
|
[build.flags]
|
|
configure = [
|
|
"-DZLIB_COMPAT=ON",
|
|
"-G Ninja",
|
|
"-DZLIB_ENABLE_TESTS=OFF"
|
|
]
|
|
build-32 = true
|
|
configure-lib32 = [
|
|
"-DZLIB_COMPAT=ON",
|
|
"-G Ninja",
|
|
"-DZLIB_ENABLE_TESTS=OFF"
|
|
]
|