SUMMARY="GPT partition table manipulator"
DESCRIPTION="GPT fdisk is a disk partitioning tool loosely modeled on Linux \
fdisk, but used for modifying GUID Partition Table (GPT) disks. The related \
FixParts utility fixes some common problems on Master Boot Record (MBR) disks."
REVISION="1"
ARCHITECTURES="!x86_gcc2"
HOMEPAGE="http://www.rodsbooks.com/gdisk/"
SOURCE_URI="http://sourceforge.net/projects/gptfdisk/files/gptfdisk/0.8.10/gptfdisk-0.8.10.tar.gz"
CHECKSUM_SHA256="73e64151203ae0c347c488358e71ca582bb7fb7f0d66df86b71c42050390eb9b"
PATCHES="gptfdisk-0.8.10.patchset"
LICENSE="GNU GPL v2"
COPYRIGHT="2013 Rod Smith"

PROVIDES="
	gptfdisk = $portVersion
	"
BUILD_REQUIRES="
	devel:libuuid
	devel:libncurses
	"
BUILD_PREREQUIRES="
	haiku_devel
	cmd:gcc
	cmd:make
	"

BUILD()
{
	make $jobArgs
}

INSTALL()
{
	make install
}

TEST()
{
	make check
}
