shit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
version = "1.5.6"
|
||||
revision = 1
|
||||
description = "Zstandard fast lossless compression library"
|
||||
license = "BSD-3-Clause"
|
||||
url = "https://facebook.github.io/zstd/"
|
||||
source = tarball(
|
||||
url=f"https://github.com/facebook/zstd/releases/download/v{version}/zstd-{version}.tar.gz",
|
||||
sha256="8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1",
|
||||
)
|
||||
host_deps = ["binutils", "gcc", "pkgconf"]
|
||||
deps = [profile["libc"]]
|
||||
|
||||
|
||||
def configure(self):
|
||||
# zstd's top-level autotools/Makefile don't cross-compile cleanly; use the
|
||||
# maintained meson port shipped under build/meson.
|
||||
meson_configure(
|
||||
self,
|
||||
["-Dbin_programs=true", "-Dzlib=disabled", "-Dlzma=disabled", "-Dlz4=disabled"],
|
||||
source_dir=self.source_dir / "build/meson",
|
||||
)
|
||||
|
||||
|
||||
def build(self):
|
||||
meson_build(self)
|
||||
|
||||
|
||||
def install(self):
|
||||
meson_install(self)
|
||||
Reference in New Issue
Block a user