# zlib/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.10 minutes) - HP EliteBook 8560w 32GB RAM 00.00 hours (or 000.15 minutes) - ThinkPad X1 Carbon 6G i7 4x2 16GB RAM 00.00 hours (or 000.20 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.23 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.02 hours (or 000.95 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default license = See "license*.txt" in installed tree noliblinks = yes purge = no #--------------------------------------------------------------------- [depends] patch:forward none #--------------------------------------------------------------------- [configure] # This block is courtesy of Slackware. # find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o \ -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o \ -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; ARCH=`uname -m` # Slackware again. # if [ "$ARCH" = "i386" ]; then ZFLAGS="-O2 -march=i386 -mcpu=i686" elif [ "$ARCH" = "i486" ]; then ZFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "s390" ]; then ZFLAGS="-O2" elif [ "$ARCH" = "x86_64" ]; then ZFLAGS="-O2 -fPIC" else ZFLAGS="-O2" fi chown -R 0.0 . CFLAGS=$ZFLAGS $CFLAGS \ bash ./configure --prefix=$PKGDIR_PROD make clean #--------------------------------------------------------------------- [postbuild] DOCDIR=$PKGDIR_PROD/doc LIBDIR=$PKGDIR_PROD/lib MANBASE=$PKGDIR_PROD/man PCFDIR=$PKGDIR_PROD/lib/pkgconfig SHADIR=$PKGDIR_PROD/share mkdir -p $DOCDIR $MANBASE $PCFDIR cd contrib/minizip make rm -fr $MANBASE mkdir -p $MANBASE mv $PKGDIR_PROD/share/man $MANBASE (rmdir $SHADIR || true) cp -p $PKGDIR_SPECIAL/license.txt $DOCDIR/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/zlib url_home = http://www.gzip.org/zlib/ url_lfs = http://www.linuxfromscratch.org/lfs/view/stable/\ chapter06/zlib.html url_tarball = https://zlib.net/zlib-1.3.1.tar.gz #--------------------------------------------------------------------- [history] 170502 Updated from 1.2.3 to 1.2.8 181016 Updated to 1.2.11 220404 Updated to 1.2.12 230214 Updated to 1.2.13 240123 Updated to 1.3.1