# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= zlib VERSION= 1.2.13 REVISION= 1 KEYWORDS= archivers VARIANTS= standard SDESC[standard]= Ubiquitous compression library HOMEPAGE= http://www.zlib.net CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= http://www.zlib.net/ DISTFILE[1]= zlib-1.2.13.tar.gz:main DF_INDEX= 1 SPKGS[standard]= complete static shared OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= cpe LICENSE= ZLIB:complete LICENSE_FILE= ZLIB:{{WRKDIR}}/LICENSE LICENSE_AWK= ZLIB:"ifndef ZLIB_H" LICENSE_SOURCE= ZLIB:{{WRKSRC}}/zlib.h LICENSE_SCHEME= solo CPE_VENDOR= gnu MUST_CONFIGURE= yes CONFIGURE_ENV= prefix="{{PREFIX}}" cflags="{{CFLAGS}}" SINGLE_JOB= yes SOVERSION= 1.2.13 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libz.so # install our PIC library ${INSTALL_DATA} ${WRKSRC}/libz_pic.a ${STAGEDIR}${PREFIX}/lib/ post-build: # assemble PIC library (cd ${WRKSRC} \ && ${AR} -cq libz_pic.a *.lo \ && ranlib libz_pic.a) [FILE:628:descriptions/desc.static] zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system. The zlib data format is itself portable across platforms. Unlike the LZW compression method used in Unix compress(1) and in the GIF image format, the compression method currently used in zlib essentially never expands the data. zlib's memory footprint is also independent of the input data and can be reduced, if necessary, at some cost in compression. This is the core package that excludes the shared libraries. [FILE:168:descriptions/desc.shared] A Massively Spiffy Yet Delicately Unobtrusive Compression Library (Also Free, Not to Mention Unencumbered by Patents) This package contains only the shared libraries. [FILE:97:distinfo] b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30 1497445 zlib-1.2.13.tar.gz [FILE:98:manifests/plist.static] include/ zconf.h zlib.h lib/ libz.a libz_pic.a lib/pkgconfig/zlib.pc share/man/man3/zlib.3.gz [FILE:58:manifests/plist.shared] lib/ libz.so libz.so.%%SOMAJOR%% libz.so.%%SOVERSION%% [FILE:1168:patches/patch-configure] --- configure.orig 2022-10-10 18:11:12 UTC +++ configure @@ -190,8 +190,8 @@ case `$cc -v 2>&1` in *clang*) gcc=1 ;; esac -show $cc -c $test.c -if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then +cc=cc +if [ "x" = "x" ]; then echo ... using gcc >> configure.log CC="$cc" CFLAGS="${CFLAGS--O3}" @@ -222,6 +222,8 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) uname=`(uname -s || echo unknown) 2>/dev/null` fi case "$uname" in + SunOS) + LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"} ;; Linux* | linux* | *-linux* | GNU | GNU/* | solaris*) case "$mname" in *sparc*) @@ -260,12 +262,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) SHAREDLIBV=libz.$VER$shared_ext SHAREDLIBM=libz.$VER1$shared_ext LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"} - if libtool -V 2>&1 | grep Apple > /dev/null; then - AR="libtool" - else - AR="/usr/bin/libtool" - fi - ARFLAGS="-o" ;; + ;; *) LDSHARED=${LDSHARED-"$cc -shared"} ;; esac