54 lines
978 B
Bash
54 lines
978 B
Bash
SUMMARY="Utility to apply diffs to files"
|
|
DESCRIPTION="Patch takes a patch file containing a difference listing produced \
|
|
by the diff program and applies those differences to one or more original \
|
|
files, producing patched versions."
|
|
HOMEPAGE="https://savannah.gnu.org/projects/patch/"
|
|
COPYRIGHT="2012-2015 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="3"
|
|
SOURCE_URI="https://ftpmirror.gnu.org/patch/patch-$portVersion.tar.gz
|
|
https://ftp.gnu.org/gnu/patch/patch-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7436f5a19f93c3ca83153ce9c5cbe4847e97c5d956e57a220121e741f6e7968f"
|
|
PATCHES="patch-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
patch = $portVersion
|
|
cmd:patch = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
cmd:diff
|
|
cmd:git
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm "$libDir"/charset.alias
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|