]>
Commit | Line | Data |
---|---|---|
8bcac5c8 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = zstd | |
56396620 | 7 | version = 1.5.2 |
8bcac5c8 MT |
8 | release = 1 |
9 | ||
10 | groups = System/Libraries | |
11 | url = http://facebook.github.io/zstd/ | |
12 | license = GPLv2 | |
13 | summary = Zstandard is a fast lossless compression algorithm | |
14 | ||
15 | description | |
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. | |
20 | end | |
21 | ||
22 | source_dl = https://github.com/facebook/zstd/releases/download/v%{version}/ | |
23 | ||
24 | build | |
25 | requires | |
26 | lz4-devel | |
27 | xz-devel | |
28 | zlib-devel | |
29 | end | |
30 | ||
31 | test | |
32 | make check | |
33 | end | |
34 | ||
56396620 | 35 | make_install_targets += PREFIX=%{prefix} LIBDIR=%{libdir} |
8bcac5c8 MT |
36 | end |
37 | ||
38 | packages | |
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 | |
52 | end |