1
0
Fork 0
frozenports/archivers/zstd/SCHEMATIC

26 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="zstd"
short_desc="fast compression algorithm"
desc="Zstandard is a fast compression algorithm, providing high compression ratios.
It also offers a special mode for small data, called dictionary compression.
The reference library offers a very wide range of speed / compression trade-off,
and is backed by an extremely fast decoder (see benchmarks below).
Zstandard library is provided as open source software using a BSD
license. Its format is stable and published as IETF RFC 8878."
category="archivers"
version="1.5.5"
maintainer="ffqq@danwin1210.de"
www="https://facebook.github.io/zstd/"
master_site="https://github.com/facebook/zstd/releases/download/v$version"
source_name="$name-$version.tar.gz"
license_logic="and" # accepted values: single, and, or
licenses=("BSD-3-CLAUSE" "GPLv2")
build_dependencies=("lang/gcc" "devel/gmake")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version || exit 1
make prefix=/usr -j$(nproc)
make prefix=/usr DESTDIR="$TAMANDUA_STAGE_DIR" install
}