mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
52 lines
1.3 KiB
Bash
52 lines
1.3 KiB
Bash
SUMMARY="Advanced command line tool like standard 'diff'"
|
|
DESCRIPTION="spiff is a command line program that compares the contents of \
|
|
two files and prints a description of the important differences between them \
|
|
in a form rather like the standard 'diff' utility. However, unlike diff, it \
|
|
is not line oriented -- it compares word sequences with all white space and \
|
|
newlines disregarded, so even if formatting is different you only see the \
|
|
significant differences. It also compares floating-point values with a \
|
|
tolerance, so you can look in data files for discrepancies."
|
|
HOMEPAGE="https://github.com/HaikuArchives/Spiff"
|
|
COPYRIGHT="1988 Bellcore"
|
|
LICENSE="SPIFF"
|
|
REVISION="2"
|
|
srcGitRev="89f030f4d88cc85092783c2344f69625be564e98"
|
|
SOURCE_URI="https://github.com/HaikuArchives/Spiff/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="6b6d4005f17f2fe7f67a0b49ee3ff0cfde75914ba99cf31c190f25ea3e1ac7c8"
|
|
SOURCE_DIR="Spiff-89f030f4d88cc85092783c2344f69625be564e98"
|
|
|
|
ARCHITECTURES="!all x86_gcc2"
|
|
|
|
PROVIDES="
|
|
spiff = $portVersion
|
|
cmd:spiff
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libncurses
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libncurses
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd SRC
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd SRC
|
|
mkdir -p $binDir
|
|
mkdir -p $manDir/man1
|
|
cp spiff $binDir
|
|
cp spiff.1 $manDir/man1
|
|
}
|