summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/patch/patch.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/patch/patch.inc')
-rw-r--r--meta/recipes-devtools/patch/patch.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
new file mode 100644
index 0000000000..4ce51703aa
--- /dev/null
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -0,0 +1,19 @@
1DESCRIPTION = "patch takes a patch file containing a difference listing \
2produced by the diff program and applies those differences to one or more \
3original files, producing patched versions."
4LICENSE = "GPL"
5PRIORITY = "standard"
6SECTION = "utils"
7
8SRC_URI = "${GNU_MIRROR}/patch/patch-${PV}.tar.gz"
9S = "${WORKDIR}/patch-${PV}"
10
11inherit autotools update-alternatives
12
13do_install_append () {
14 mv ${D}${bindir}/patch ${D}${bindir}/patch.${PN}
15}
16
17ALTERNATIVE_NAME = "patch"
18ALTERNATIVE_PATH = "patch.${PN}"
19ALTERNATIVE_PRIORITY = "100"