mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
47 lines
884 B
Bash
47 lines
884 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="http://www.gnu.org/software/patch/"
|
|
COPYRIGHT="2012-2015 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="http://ftp.gnu.org/pub/gnu/patch/patch-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7436f5a19f93c3ca83153ce9c5cbe4847e97c5d956e57a220121e741f6e7968f"
|
|
PATCHES="patch-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2 x86_64 arm"
|
|
|
|
PROVIDES="
|
|
patch = $portVersion
|
|
cmd:patch = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:awk
|
|
cmd:make
|
|
cmd:gcc
|
|
cmd:git
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/charset.alias
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|