SUMMARY="FDUPES is a program for identifying or deleting duplicate files"
DESCRIPTION="
fdupes is a program written by Adrian Lopez to scan directories for duplicate \
files, with options to list, delete or replace the files with hardlinks \
pointing to the duplicate. It first compares file sizes and MD5 signatures, \
and then performs a byte-by-byte check for verification.
"
HOMEPAGE="http://code.google.com/p/fdupes/"
SOURCE_URI="http://fdupes.googlecode.com/files/fdupes-1.51.tar.gz"
CHECKSUM_SHA256="87dbc85b7b9cdb9626e713dd8078bd7487bceb58d47ceaff5404a9e6fd062881"
COPYRIGHT="1999-2013 Adrian Lopez"
LICENSE="MIT"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"

PROVIDES="
	fdupes = $portVersion
	cmd:fdupes = $portVersion
	"

REQUIRES="
	haiku
	"

BUILD_REQUIRES=""
BUILD_PREREQUIRES="
	haiku_devel
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make
}

INSTALL()
{
	make install \
	PREFIX=$prefix \
	MAN_BASE_DIR=$manDir
}
