mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Convert/update patchutils to working recipe
This commit is contained in:
76
dev-util/patchutils/patchutils-0.3.3.recipe
Normal file
76
dev-util/patchutils/patchutils-0.3.3.recipe
Normal file
@@ -0,0 +1,76 @@
|
||||
SUMMARY="A small collection of programs that operate on patch files."
|
||||
DESCRIPTION="
|
||||
*Interdiff generates an incremental patch from two patches
|
||||
against a common source.
|
||||
*Combinediff generates a single patch from two incremental
|
||||
patches, allowing you to merge patches together.
|
||||
*Filterdiff will select the portions of a patch file that apply
|
||||
to files matching (or, alternatively, not matching) a shell
|
||||
wildcard.
|
||||
*Fixcvsdiff is for correcting the output of ‘cvs diff’.
|
||||
*Rediff corrects hand-edited patches, by comparing the original
|
||||
patch with the modified one and adjusting the offsets and
|
||||
counts.
|
||||
*Lsdiff displays a short listing of affected files in a patch
|
||||
file, along with (optionally) the line numbers of the start of
|
||||
each patch.
|
||||
*Splitdiff separates out patches from a patch file so that each
|
||||
new patch file only alters any given file once.
|
||||
*Grepdiff displays a list of the files modified by a patch where
|
||||
the patch contains a given regular expression.
|
||||
*Recountdiff fixes up counts and offsets in a unified diff.
|
||||
*Unwrapdiff fixes word-wrapped unified diffs.
|
||||
"
|
||||
|
||||
HOMEPAGE="http://cyberelk.net/tim/patchutils/"
|
||||
SRC_URI="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.3.tar.xz"
|
||||
CHECKSUM_MD5="b640b6b8af6183f83eacf7bd6d2460cb"
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2001-2013 Tim Waugh"
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
patchutils = $portVersion compat >= 0
|
||||
cmd:combinediff = $portVersion compat >= 0
|
||||
cmd:filterdiff = $portVersion compat >= 0
|
||||
cmd:fixcvsdiff = $portVersion compat >= 0
|
||||
cmd:rediff = $portVersion compat >= 0
|
||||
cmd:lsdiff = $portVersion compat >= 0
|
||||
cmd:splitdiff = $portVersion compat >= 0
|
||||
cmd:grepdiff = $portVersion compat >= 0
|
||||
cmd:recountdiff = $portVersion compat >= 0
|
||||
cmd:unwrapdiff = $portVersion compat >= 0
|
||||
cmd:interdiff = $portVersion compat >= 0
|
||||
cmd:dehtmldiff = $portVersion compat >= 0
|
||||
cmd:flipdiff = $portVersion compat >= 0
|
||||
cmd:espdiff = $portVersion compat >= 0
|
||||
cmd:editdiff = $portVersion compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
cmd:perl
|
||||
cmd:diff
|
||||
cmd:patch
|
||||
"
|
||||
|
||||
BUILD_REQUIRES=""
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user