Ravenports generated: 07 Oct 2023 15:45
[ravenports.git] / bucket_57 / zlib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               zlib
4 VERSION=                1.3
5 KEYWORDS=               archivers
6 VARIANTS=               standard
7 SDESC[standard]=        Ubiquitous compression library
8 HOMEPAGE=               http://www.zlib.net
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://www.zlib.net/
13 DISTFILE[1]=            zlib-1.3.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         dev
18                         man
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 USES=                   cpe
24
25 LICENSE=                ZLIB:primary
26 LICENSE_FILE=           ZLIB:{{WRKDIR}}/LICENSE
27 LICENSE_AWK=            ZLIB:"ifndef ZLIB_H"
28 LICENSE_SOURCE=         ZLIB:{{WRKSRC}}/zlib.h
29 LICENSE_SCHEME=         solo
30
31 CPE_VENDOR=             gnu
32
33 MUST_CONFIGURE=         yes
34 CONFIGURE_ENV=          prefix="{{PREFIX}}"
35                         cflags="{{CFLAGS}}"
36
37 SINGLE_JOB=             yes
38
39 SOVERSION=              1.3
40
41 post-install:
42         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libz.so
43         # install our PIC library
44         ${INSTALL_DATA} ${WRKSRC}/libz_pic.a ${STAGEDIR}${PREFIX}/lib/
45
46 post-build:
47         # assemble PIC library
48         (cd ${WRKSRC} \
49          && ${AR} -cq libz_pic.a *.lo \
50          && ranlib libz_pic.a)
51
52 [FILE:566:descriptions/desc.primary]
53 zlib is designed to be a free, general-purpose, legally unencumbered -- 
54 that is, not covered by any patents -- lossless data-compression library
55 for use on virtually any computer hardware and operating system. The
56 zlib data format is itself portable across platforms. Unlike the LZW
57 compression method used in Unix compress(1) and in the GIF image format,
58 the compression method currently used in zlib essentially never expands
59 the data.  zlib's memory footprint is also independent of the input data 
60 and can be reduced, if necessary, at some cost in compression.
61
62
63 [FILE:94:distinfo]
64 ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e      1495873 zlib-1.3.tar.gz
65
66
67 [FILE:49:manifests/plist.primary]
68 lib/
69  libz.so.%%SOMAJOR%%
70  libz.so.%%SOVERSION%%
71
72
73 [FILE:82:manifests/plist.dev]
74 include/
75  zconf.h
76  zlib.h
77 lib/
78  libz.a
79  libz_pic.a
80 lib/pkgconfig/zlib.pc
81  libz.so
82
83
84 [FILE:25:manifests/plist.man]
85 share/man/man3/zlib.3.gz
86
87
88 [FILE:645:patches/patch-configure]
89 --- configure.orig      2023-08-18 08:45:36 UTC
90 +++ configure
91 @@ -191,8 +191,8 @@ case `$cc -v 2>&1` in
92    *clang*) gcc=1 ;;
93  esac
94  
95 -show $cc -c $test.c
96 -if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
97 +cc=cc
98 +if [ "x" = "x" ]; then
99    echo ... using gcc >> configure.log
100    CC="$cc"
101    CFLAGS="${CFLAGS--O3}"
102 @@ -226,6 +226,8 @@ if test "$gcc" -eq 1 && ($cc -c $test.c)
103      uname=`(uname -s || echo unknown) 2>/dev/null`
104    fi
105    case "$uname" in
106 +  SunOS)
107 +        LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"} ;;
108    Linux* | linux* | *-linux* | GNU | GNU/* | solaris*)
109          case "$mname" in
110          *sparc*)
111