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