]> git.ipfire.org Git - ipfire-3.x.git/blame - zstd/zstd.nm
zstd: New package
[ipfire-3.x.git] / zstd / zstd.nm
CommitLineData
8bcac5c8
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = zstd
7version = 1.4.5
8release = 1
9
10groups = System/Libraries
11url = http://facebook.github.io/zstd/
12license = GPLv2
13summary = Zstandard is a fast lossless compression algorithm
14
15description
16 Zstandard, or zstd as short version, is a fast lossless compression
17 algorithm, targeting real-time compression scenarios at zlib-level
18 and better compression ratios. It's backed by a very fast entropy
19 stage, provided by Huff0 and FSE library.
20end
21
22source_dl = https://github.com/facebook/zstd/releases/download/v%{version}/
23
24build
25 requires
26 lz4-devel
27 xz-devel
28 zlib-devel
29 end
30
31 test
32 make check
33 end
34
35 make_install_targets += prefix=%{prefix} libdir=%{libdir}
36end
37
38packages
39 package %{name}
40
41 package %{name}-libs
42 template LIBS
43 end
44
45 package %{name}-devel
46 template DEVEL
47 end
48
49 package %{name}-debuginfo
50 template DEBUGINFO
51 end
52end