# coreutils/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] # 1. The standard version of "coreutils" installs three programs that # conflict with other packages: # # hostname - Provided separately by "nettools" # kill - Provided separately by "procpsng" or "util-linux" # su - Provided separately by "shadow" # This distro modifies "coreutils" to suppress the installation of the # conflicting programs. #--------------------------------------------------------------------- # 2. This package depends on "grep" and "mktemp", which may not be # built until later. If you build this distro from scratch, the boot- # strap distro used must provide its own copies of these pro- # grams. #--------------------------------------------------------------------- # 3. This distro builds "chroot" as a static executable. This improves # the distro's compatibility with LiveDistro frameworks. #--------------------------------------------------------------------- [buildtimes] 00.04 hours (or 002.35 minutes) - Dell Inspiron 17R quad-core 6GB RAM 00.04 hours (or 002.50 minutes) - HP EliteBook 8560w 32GB RAM 00.06 hours (or 003.70 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.07 hours (or 003.92 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.22 hours (or 012.98 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] att_awk = yes build = default exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING master = glibc mstatic = yes nls = disabled purge = no #--------------------------------------------------------------------- [depends] actools:forward autoconf:forward coreutils:forward # Depends on itself for "mktemp" gawk grep:forward #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE export CC="gcc -fgnu89-inline" export FORCE_UNSAFE_CONFIGURE=1 if [ "@$LACARCH" == "@glibc32" ]; then export TIME_T_32_BIT_OK=yes; fi if [ "@$LACARCH" == "@musl32" ]; then export TIME_T_32_BIT_OK=yes; fi touch autopoint chmod 755 autopoint PATH=`pwd`:$PATH autoreconf -fi DEFAULT_POSIX2_VERSION=199209 ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --disable-acl \ --disable-nls \ --disable-xattr \ --enable-install-program=arch \ --mandir=$MANBASE \ --without-gmp sed -e "s|^src_chroot_LDADD *=|& -static|" -i Makefile sed -e "s|^src_chroot_LDFLAGS *=|& -static|" -i src/local.mk #--------------------------------------------------------------------- [postbuild] EXEDROPLIST="hostname kill su" cd $PKGDIR_PROD/bin rm -f $EXEDROPLIST if [ $LACBITS == 32 ]; then H="#" rm -fr uname.bin mv uname uname.bin cat > uname << END ${H}!/bin/bash $PKGDIR_PROD/bin/uname.bin \$* | \ sed -e 's/x86_64/i386/' -e 's/i386 i386/i386/' END chmod 755 uname fi cd $PKGDIR_PROD/man/man1 for x in $EXEDROPLIST ; do rm -f $x.* ; done #--------------------------------------------------------------------- # 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/stable/base/coreutils url_home = http://www.gnu.org/software/coreutils/ url_lfs = http://www.linuxfromscratch.org/lfs/view/stable/\ chapter05/coreutils.html url_tarball = http://ftp.gnu.org/gnu/coreutils/\ coreutils-8.32.tar.xz #--------------------------------------------------------------------- [history] 170502 Updated from 8.25 to 8.27 180116 Updated to 8.29 210204 Updated to 8.32