# Template file for 'coreutils'
pkgname=coreutils
version=7.5
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=341f49b9434f83ca9a8b6c2266813092ef08a5fca25f15dcc1a0ba82fc18c3c1
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 .
}
