]>
Commit | Line | Data |
---|---|---|
a3b813f7 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = pigz | |
c2183067 | 7 | version = 2.3.3 |
56d74ba3 | 8 | release = 2 |
a3b813f7 MT |
9 | |
10 | groups = Applications/Compression | |
11 | url = http://www.zlib.net/pigz/ | |
12 | license = zlib | |
13 | summary = Parallel implementation of gzip. | |
14 | ||
15 | description | |
16 | pigz, which stands for parallel implementation of gzip, | |
17 | is a fully functional replacement for gzip that exploits | |
18 | multiple processors and multiple cores to the hilt when compressing | |
19 | data. | |
20 | end | |
21 | ||
22 | source_dl = %{url} | |
23 | ||
24 | build | |
25 | requires | |
26 | zlib-devel | |
27 | end | |
28 | ||
56d74ba3 | 29 | make_build_targets += CC=gcc CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS} -lz" |
a3b813f7 | 30 | |
c2183067 SS |
31 | test |
32 | make test | |
33 | end | |
34 | ||
a3b813f7 MT |
35 | install |
36 | install -p -D pigz %{BUILDROOT}%{bindir}/pigz | |
37 | ln -svf pigz %{BUILDROOT}%{bindir}/unpigz | |
38 | install -p -D pigz.1 -m 644 %{BUILDROOT}%{mandir}/man1/pigz.1 | |
39 | end | |
40 | end | |
41 | ||
42 | packages | |
43 | package %{name} | |
44 | ||
45 | package %{name}-debuginfo | |
46 | template DEBUGINFO | |
47 | end | |
48 | end |