This repository has been archived by the owner on Sep 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yml
58 lines (54 loc) · 1.47 KB
/
package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name : zlib
version : '1.3'
release : 25
source :
- https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz : ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e
homepage : http://www.zlib.net
license : ZLIB
component :
- system.base
- minizip : system.utils
- minizip-devel : programming.devel
summary :
- zlib (Compression library)
- minizip : Mini zip and unzip based on zlib
- minizip-devel : Development files for zlib-minizip
description:
- The zlib library is a compression library that aims to be unobtrusive.
- minizip : Mini zip and unzip based on zlib
- minizip-devel : Mini zip and unzip based on zlib
devel : yes
emul32 : yes
patterns :
- minizip :
- /usr/lib64/libminizip.so.*
- minizip-devel :
- /usr/include/minizip/*
- /usr/lib64/libminizip.a
- /usr/lib64/libminizip.so
- /usr/lib64/pkgconfig/minizip.pc
setup : |
%patch -p1 < $pkgfiles/no_ldconfig.patch
./configure --prefix=/usr --libdir=%libdir%
# configure minizip
pushd contrib/minizip
if [[ -z "${EMUL32BUILD}" ]]; then
%reconfigure
fi
popd
build : |
%make
# build minizip
pushd contrib/minizip
if [[ -z "${EMUL32BUILD}" ]]; then
%make
fi
popd
install : |
%make_install
# install minizip
pushd contrib/minizip
if [[ -z "${EMUL32BUILD}" ]]; then
%make_install
fi
popd