# Template file for 'coreutils'
pkgname=coreutils
version=7.6
distfiles="http://ftp.gnu.org/gnu/coreutils/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-install-program=hostname --bindir=/bin
 ac_cv_header_selinux_flask_h=no ac_cv_header_selinux_selinux_h=no
 ac_cv_header_selinux_context_h=no ac_cv_search_setfilecon=no
 ac_cv_header_sys_capability_h=no"
configure_env="PERL=/usr/bin/perl"
short_desc="The GNU core utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1d9bfe8b427ca5f8cffa0b462f861e4157c946fbeaf0884d273bbd6cab1c25d4
long_desc="
 The GNU Core Utilities are the basic file, shell and text manipulation
 utilities of the GNU operating system. These are the core utilities
 which are expected to exist on every operating system."

essential=yes
base_chroot=yes
Add_dependency run glibc
Add_dependency full gmp
Add_dependency full attr
Add_dependency full acl

post_install()
{
	# Most programs expect /usr/bin/env.
	install -d ${DESTDIR}/usr/bin
	cd ${DESTDIR}/usr/bin && ln -s ../../bin/env .
}
