30 lines
712 B
TOML
30 lines
712 B
TOML
[build]
|
|
type = "makefile"
|
|
|
|
[build.flags]
|
|
makefile_commands = [
|
|
"make prefix=/usr",
|
|
]
|
|
makefile_install_commands = ["make prefix=/usr DESTDIR=$DESTDIR install"]
|
|
post_install = ["rm -v $DESTDIR/usr/*/libzstd.a"]
|
|
|
|
[dependencies]
|
|
runtime = [
|
|
"glibc",
|
|
]
|
|
|
|
[dependencies.lib32]
|
|
runtime = [ "lib32-glibc" ]
|
|
|
|
[package]
|
|
description = "real-time compression algorithm, providing high compression ratios"
|
|
homepage = "https://facebook.github.io/zstd/"
|
|
license = "BSD-3-Clause"
|
|
name = "zstd"
|
|
version = "1.5.7"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3"
|
|
url = "https://github.com/facebook/zstd/releases/download/v$version/zstd-$version.tar.gz"
|