0
0
Fork 0
haikuports/app-misc/fdupes/fdupes-1.6.1.recipe

40 lines
921 B
Bash

SUMMARY="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="https://github.com/adrianlopezroche/fdupes"
COPYRIGHT="1999-2016 Adrian Lopez"
LICENSE="fdupes"
REVISION="2"
SOURCE_URI="https://github.com/adrianlopezroche/fdupes/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="9d6b6fdb0b8419815b4df3bdfd0aebc135b8276c90bbbe78ebe6af0b88ba49ea"
ARCHITECTURES="all"
PROVIDES="
fdupes = $portVersion
cmd:fdupes = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make
}
INSTALL()
{
make install PREFIX=$prefix MAN_BASE_DIR=$manDir
}