DESCRIPTION="standard GNU file utilities" 
HOMEPAGE="http://www.gnu.org/software/coreutils" 
SRC_URI="http://ftp.gnu.org/gnu/coreutils/coreutils-8.5.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="c1ffe586d001e87d66cd80c4536ee823"
BUILD()
{
	cd coreutils-8.5
	MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \
		--infodir=`finddir B_COMMON_DOCUMENTATION`/info \
		--mandir=`finddir B_COMMON_DOCUMENTATION`/man
	make
}

INSTALL()
{
	cd coreutils-8.5
	make install
}

TEST()
{
	cd coreutils-8.5
	make check
}

LICENSE="GNU GPL v3"
COPYRIGHT="1994-1996, 2000-2010 Free Software Foundation, Inc."
