From: Michael Tremer Date: Tue, 23 Jun 2020 08:58:44 +0000 (+0100) Subject: zstd: New package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bcac5c8cda49b91fe68bef64c3ad975b80a43ca;p=ipfire-3.x.git zstd: New package Signed-off-by: Michael Tremer --- diff --git a/zstd/zstd.nm b/zstd/zstd.nm new file mode 100644 index 000000000..e5afd342b --- /dev/null +++ b/zstd/zstd.nm @@ -0,0 +1,52 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = zstd +version = 1.4.5 +release = 1 + +groups = System/Libraries +url = http://facebook.github.io/zstd/ +license = GPLv2 +summary = Zstandard is a fast lossless compression algorithm + +description + Zstandard, or zstd as short version, is a fast lossless compression + algorithm, targeting real-time compression scenarios at zlib-level + and better compression ratios. It's backed by a very fast entropy + stage, provided by Huff0 and FSE library. +end + +source_dl = https://github.com/facebook/zstd/releases/download/v%{version}/ + +build + requires + lz4-devel + xz-devel + zlib-devel + end + + test + make check + end + + make_install_targets += prefix=%{prefix} libdir=%{libdir} +end + +packages + package %{name} + + package %{name}-libs + template LIBS + end + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end