DESCRIPTION="
Standard EXT2/EXT3/EXT4 filesystem utilities.
"
HOMEPAGE="http://e2fsprogs.sourceforge.net/"
SOURCE_URI="http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs-TEST/1.43-WIP-0922/e2fsprogs-1.43-WIP-2012-09-22.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fe2fsprogs%2Ffiles%2Fe2fsprogs-TEST%2F1.43-WIP-0922%2F&ts=1356043363&use_mirror=switch"
CHECKSUM_MD5="653625e10de6ee038e1ee40480de9787"
REVISION="1"
STATUS_HAIKU="broken"
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
DEPEND=""

BUILD()
{
	cd e2fsprogs-1.43
	autoconf
	libdir=`finddir B_COMMON_LIB_DIRECTORY` 
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		USE=-loop-aes --enable-symlink-build \
		--enable-symlink-install --disable-tls \
		--enable-quota=no --disable-fsck \
		--enable-elf-shlibs
	make
}

INSTALL()
{
	cd e2fsprogs-1.43
	make install-libs
}

LICENSE="GNU GPL v2"
COPYRIGHT="2004-2012 Free Software Foundation, Inc."
