]>
Commit | Line | Data |
---|---|---|
166a6c21 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
166a6c21 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = zlib |
410319d9 MT |
7 | version = 1.2.7 |
8 | release = 1 | |
166a6c21 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.gzip.org/zlib/ | |
12 | license = zlib | |
13 | summary = The zlib compression and decompression library. | |
166a6c21 | 14 | |
802ea3af MT |
15 | description |
16 | Zlib is a general-purpose, patent-free, lossless data compression | |
166a6c21 | 17 | library which is used by many different programs. |
802ea3af MT |
18 | end |
19 | ||
20 | source_dl = http://zlib.net/ | |
21 | ||
22 | # Enable PIC build. | |
23 | CFLAGS += -fPIC -DPIC | |
24 | ||
25 | build | |
26 | configure_options = \ | |
98dd7d7c | 27 | --prefix=%{prefix} \ |
2b17bc81 | 28 | --libdir=%{libdir} |
802ea3af MT |
29 | |
30 | test | |
31 | make check | |
32 | end | |
33 | ||
34 | install_cmds | |
98dd7d7c MT |
35 | mkdir -pv %{BUILDROOT}%{includedir} %{BUILDROOT}%{libdir} |
36 | cp -pfv zconf.h zlib.h %{BUILDROOT}%{includedir} | |
802ea3af MT |
37 | end |
38 | end | |
39 | ||
40 | packages | |
41 | package %{name} | |
1f9bc2f0 | 42 | |
802ea3af MT |
43 | package %{name}-devel |
44 | template DEVEL | |
45 | end | |
1f9bc2f0 MT |
46 | |
47 | package %{name}-debuginfo | |
48 | template DEBUGINFO | |
49 | end | |
802ea3af | 50 | end |