]>
Commit | Line | Data |
---|---|---|
6fc53035 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = lz4 | |
fc0b44a6 | 7 | version = 1.9.4 |
6fc53035 MT |
8 | release = 1 |
9 | ||
10 | groups = System/Libraries | |
11 | url = http://www.lz4.org/ | |
12 | license = GPLv2 | |
13 | summary = Extremely fast compression algorithm | |
14 | ||
15 | description | |
16 | LZ4 is lossless compression algorithm, providing compression speed | |
17 | > 500 MB/s per core (>0.15 Bytes/cycle). | |
18 | It features an extremely fast decoder, with speed in multiple GB/s | |
19 | per core (~1 Byte/cycle). A high compression derivative, called | |
20 | LZ4_HC, is available, trading customizable CPU time for compression | |
21 | ratio. | |
22 | end | |
23 | ||
24 | source_dl = https://github.com/lz4/lz4/archive/v%{version}.tar.gz#/ | |
25 | ||
26 | build | |
27 | build | |
28 | make -C lib PREFIX=%{prefix} %{PARALLELISMFLAGS} | |
29 | make -C programs PREFIX=%{prefix} lz4 lz4c | |
30 | end | |
31 | ||
32 | test | |
33 | make check | |
34 | end | |
35 | ||
36 | make_install_targets += PREFIX=%{prefix} libdir=%{libdir} | |
37 | end | |
38 | ||
39 | packages | |
40 | package %{name} | |
41 | ||
42 | package %{name}-libs | |
43 | template LIBS | |
44 | end | |
45 | ||
46 | package %{name}-devel | |
47 | template DEVEL | |
48 | end | |
49 | ||
50 | package %{name}-debuginfo | |
51 | template DEBUGINFO | |
52 | end | |
53 | end |