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