# SliTaz package receipt. PACKAGE="coreutils" VERSION="8.12" CATEGORY="system-tools" SHORT_DESC="Utilities for using and setting the basic system." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://www.gnu.org/software/coreutils/" WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" DEPENDS="glibc-base gmp libcap" BUILD_DEPENDS="slitaz-toolchain libcap-dev gmp-dev m4 autoconf automake" # 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' # Hack to change uname: so can see the cpu type your running on with uname while read patch_file; do if [ -f done.$patch_file ]; then echo "Skipping $patch_file" continue fi echo "Apply $patch_file" patch -p1 < $stuff/$patch_file || return 1 touch done.$patch_file done <