Files
haikuports/sys-devel/patch/patch-2.7.1.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

49 lines
825 B
Plaintext

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.
"
LICENSE="GNU GPL v3"
COPYRIGHT="2012 Free Software Foundation, Inc."
HOMEPAGE="http://www.gnu.org/software/patch/"
SRC_URI="http://ftp.gnu.org/pub/gnu/patch/patch-2.7.1.tar.bz2"
CHECKSUM_SHA256="aae676de9e95051f425af4507fcc9a019941a2a1f78405e7dbd40bccf786aa11"
ARCHITECTURES="x86 x86_gcc2"
REVISION="2"
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
}