wok rev 3574

Update: coreutils, for Linux 2.6.29.3
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jun 25 12:25:00 2009 +0000 (2009-06-25)
parents 1794ce625358
children 07a92deec1e6
files coreutils/receipt
line diff
     1.1 --- a/coreutils/receipt	Fri Jun 26 00:18:25 2009 +0800
     1.2 +++ b/coreutils/receipt	Thu Jun 25 12:25:00 2009 +0000
     1.3 @@ -8,20 +8,22 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.gnu.org/software/coreutils/"
     1.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     1.7 -DEPENDS="libcap"
     1.8 -BUILD_DEPENDS="libcap-dev gmp-dev"
     1.9 +DEPENDS="glibc-base gmp libcap"
    1.10 +BUILD_DEPENDS="slitaz-toolchain libcap-dev gmp-dev"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16  	
    1.17 +	# NOTE: There does not seem to be a problem with sigcontext.h in Linux 2.6.29.3
    1.18 +
    1.19  	# Hack to fix ls: expected specifier-qualifier-list before '__u64'
    1.20  	# We are not patching the original file, just fake to compile
    1.21  	# coreutils.
    1.22 -	rm -f /usr/include/asm/sigcontext.h.bak
    1.23 -	mv /usr/include/asm/sigcontext.h /usr/include/asm/sigcontext.h.bak || exit 1
    1.24 -	cp ../stuff/sigcontext.h /usr/include/asm
    1.25 +	# rm -f /usr/include/asm/sigcontext.h.bak
    1.26 +	# mv /usr/include/asm/sigcontext.h /usr/include/asm/sigcontext.h.bak || exit 1
    1.27 +	# cp ../stuff/sigcontext.h /usr/include/asm
    1.28  	
    1.29  	sed -i 's/1.10a/1.10.2/' configure.ac || exit 1
    1.30  	sed -i 's/dist-xz/dist-lzma/' configure.ac || exit 1
    1.31 @@ -30,13 +32,12 @@
    1.32  		--prefix=/usr \
    1.33  		--infodir=/usr/share/info \
    1.34  		--mandir=/usr/share/man \
    1.35 -		--enable-no-install-program=kill,uptime,ls \
    1.36  		$CONFIGURE_ARGS &&
    1.37  	make &&
    1.38 -	make DESTDIR=$PWD/_pkg install &&
    1.39 +	make DESTDIR=$PWD/_pkg install
    1.40  	
    1.41  	# Restore original sigcontext.h
    1.42 -	mv -f /usr/include/asm/sigcontext.h.bak /usr/include/asm/sigcontext.h
    1.43 +	# mv -f /usr/include/asm/sigcontext.h.bak /usr/include/asm/sigcontext.h
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.