1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = http://www.gzip.org/zlib/
13 summary = The zlib compression and decompression library.
16 Zlib is a general-purpose, patent-free, lossless data compression
17 library which is used by many different programs.
20 source_dl = http://zlib.net/
35 mkdir -pv %{BUILDROOT}%{includedir} %{BUILDROOT}%{libdir}
36 cp -pfv zconf.h zlib.h %{BUILDROOT}%{includedir}
37 rm -vf %{BUILDROOT}/%{lib}/libz.so
38 ln -sfv ../../%{lib}/libz.so.%{version} %{BUILDROOT}%{libdir}/libz.so
40 mv -v %{BUILDROOT}/%{lib}/pkgconfig %{BUILDROOT}%{libdir}
52 package %{name}-debuginfo