# bzip2/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.05 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.00 hours (or 000.12 minutes) - HP EliteBook 8560w 32GB RAM 00.00 hours (or 000.13 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.47 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none exepack = yes license = See "license*.txt" in installed tree licfile = LICENSE master = glibc setpaths = bzip2 #--------------------------------------------------------------------- [depends] actools:forward grep:forward gzip sed:forward tar:forward #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib mkdir -p $BINDIR $DOCDIR $INCDIR $LIBDIR sed -e 's/\(^CFLAGS.*=.*\)/\1 -static/' \ -e 's/^\(bzip2recover:.*\)/\1 libbz2.a/' \ -e 's/\(-o bzip2recover bzip2recover\.o.*\)/\1 -L. -lbz2/' \ -i Makefile export LACFORCEPIC=yes make make PREFIX=$PKGDIR_PROD install mv bzip2 bzip2recover $BINDIR/ mv libbz2.a $LIBDIR/ make clean make -f Makefile-libbz2_so cp -p bzlib.h $INCDIR/ ln -nsf libbz2.so.1.0.6 libbz2.so.1.0 ln -nsf libbz2.so.1.0 libbz2.so.1 ln -nsf libbz2.so.1 libbz2.so mv libbz2.so* $LIBDIR/ cd $LIBDIR mkdir -p pkgconfig cd pkgconfig sed -e "s@__META_PRODTREE__@$PRODTREE@g" \ < $PKGDIR_SPECIAL/bzip2.pc.in \ > bzip2.pc #--------------------------------------------------------------------- # 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/bzip2 url_home = http://www.bzip.org/ url_lfs = http://www.linuxfromscratch.org/lfs/view/stable/\ chapter05/bzip2.html url_tarball = https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz #--------------------------------------------------------------------- [history] 180629 Added some Alpine patches 190710 Updated to 1.0.7 190714 Updated to 1.0.8 210228 Package now installs a ".pc" file