# HG changeset patch # User Matthew Sheets # Date 1245932700 0 # Node ID 27dbd5251d69c5cce594e12e3308ac83227b55e9 # Parent 1794ce6253589ceeecc1f1925fc3cb0bb1c135ca Update: coreutils, for Linux 2.6.29.3 diff -r 1794ce625358 -r 27dbd5251d69 coreutils/receipt --- a/coreutils/receipt Fri Jun 26 00:18:25 2009 +0800 +++ b/coreutils/receipt Thu Jun 25 12:25:00 2009 +0000 @@ -8,20 +8,22 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/coreutils/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="libcap" -BUILD_DEPENDS="libcap-dev gmp-dev" +DEPENDS="glibc-base gmp libcap" +BUILD_DEPENDS="slitaz-toolchain libcap-dev gmp-dev" # Rules to configure and make the package. compile_rules() { cd $src + # NOTE: There does not seem to be a problem with sigcontext.h in Linux 2.6.29.3 + # Hack to fix ls: expected specifier-qualifier-list before '__u64' # We are not patching the original file, just fake to compile # coreutils. - rm -f /usr/include/asm/sigcontext.h.bak - mv /usr/include/asm/sigcontext.h /usr/include/asm/sigcontext.h.bak || exit 1 - cp ../stuff/sigcontext.h /usr/include/asm + # rm -f /usr/include/asm/sigcontext.h.bak + # mv /usr/include/asm/sigcontext.h /usr/include/asm/sigcontext.h.bak || exit 1 + # cp ../stuff/sigcontext.h /usr/include/asm sed -i 's/1.10a/1.10.2/' configure.ac || exit 1 sed -i 's/dist-xz/dist-lzma/' configure.ac || exit 1 @@ -30,13 +32,12 @@ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ - --enable-no-install-program=kill,uptime,ls \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install && + make DESTDIR=$PWD/_pkg install # Restore original sigcontext.h - mv -f /usr/include/asm/sigcontext.h.bak /usr/include/asm/sigcontext.h + # mv -f /usr/include/asm/sigcontext.h.bak /usr/include/asm/sigcontext.h } # Rules to gen a SliTaz package suitable for Tazpkg.