Ravenports generated: 09 Oct 2022 18:57
[ravenports.git] / bucket_57 / zlib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               zlib
4 VERSION=                1.2.12
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.2.12.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         static
17                         shared
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 USES=                   cpe
23
24 LICENSE=                ZLIB:complete
25 LICENSE_FILE=           ZLIB:{{WRKDIR}}/LICENSE
26 LICENSE_AWK=            ZLIB:"ifndef ZLIB_H"
27 LICENSE_SOURCE=         ZLIB:{{WRKSRC}}/zlib.h
28 LICENSE_SCHEME=         solo
29
30 CPE_VENDOR=             gnu
31
32 MUST_CONFIGURE=         yes
33 CONFIGURE_ENV=          prefix="{{PREFIX}}"
34                         cflags="{{CFLAGS}}"
35
36 SOVERSION=              1.2.12
37
38 post-install:
39         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libz.${LIBEXT}
40
41 [FILE:628:descriptions/desc.static]
42 zlib is designed to be a free, general-purpose, legally unencumbered -- 
43 that is, not covered by any patents -- lossless data-compression library
44 for use on virtually any computer hardware and operating system. The
45 zlib data format is itself portable across platforms. Unlike the LZW
46 compression method used in Unix compress(1) and in the GIF image format,
47 the compression method currently used in zlib essentially never expands
48 the data.  zlib's memory footprint is also independent of the input data 
49 and can be reduced, if necessary, at some cost in compression.
50
51 This is the core package that excludes the shared libraries.
52
53
54 [FILE:168:descriptions/desc.shared]
55 A Massively Spiffy Yet Delicately Unobtrusive Compression Library
56 (Also Free, Not to Mention Unencumbered by Patents)
57
58 This package contains only the shared libraries.
59
60
61 [FILE:97:distinfo]
62 91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9      1490071 zlib-1.2.12.tar.gz
63
64
65 [FILE:84:manifests/plist.static]
66 include/
67  zconf.h
68  zlib.h
69 lib/libz.a
70 lib/pkgconfig/zlib.pc
71 share/man/man3/zlib.3.gz
72
73
74 [FILE:58:manifests/plist.shared]
75 lib/
76  libz.so
77  libz.so.%%SOMAJOR%%
78  libz.so.%%SOVERSION%%
79
80
81 [FILE:1298:patches/patch-configure]
82 --- configure.orig      2022-03-27 23:39:42 UTC
83 +++ configure
84 @@ -186,8 +186,8 @@ case `$cc -v 2>&1` in
85    *clang*) gcc=1 ;;
86  esac
87  
88 -show $cc -c $test.c
89 -if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
90 +cc=cc
91 +if [ "x" = "x" ]; then
92    echo ... using gcc >> configure.log
93    CC="$cc"
94    CFLAGS="${CFLAGS--O3}"
95 @@ -218,6 +218,8 @@ if test "$gcc" -eq 1 && ($cc -c $test.c)
96      uname=`(uname -s || echo unknown) 2>/dev/null`
97    fi
98    case "$uname" in
99 +  SunOS)
100 +       LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"} ;;
101    Linux* | linux* | GNU | GNU/* | solaris*)
102          LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,${SRCDIR}zlib.map"} ;;
103    *BSD | *bsd* | DragonFly)
104 @@ -252,12 +254,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c)
105               SHAREDLIBV=libz.$VER$shared_ext
106               SHAREDLIBM=libz.$VER1$shared_ext
107               LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"}
108 -             if libtool -V 2>&1 | grep Apple > /dev/null; then
109 -                 AR="libtool"
110 -             else
111 -                 AR="/usr/bin/libtool"
112 -             fi
113 -             ARFLAGS="-o" ;;
114 +             ;;
115    *)             LDSHARED=${LDSHARED-"$cc -shared"} ;;
116    esac
117  else
118