Files
haikuports/sys-devel/patch/patch-2.7.1.recipe
Alexander von Gluck IV d97a2aabd9 all: Don't use portVersionedName for SOURCE_DIR
* portVersionedName contains the secondary architecture,
  so using it means secondary package builds fail.
  example: $portVersionedName is libwow_x86-0.0.0 when
  doing an x86 build on x86_gcc2
2013-12-25 17:52:56 -06:00

42 lines
778 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_MD5="0881a7c6477862fc395f373ada0ec6b6"
ARCHITECTURES="x86 x86_gcc2"
REVISION="2"
PROVIDES="
patch = $portVersion
cmd:patch = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:make
cmd:gcc
"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
rm $libDir/charset.alias
}