diff options
Diffstat (limited to 'meta/packages/diffutils')
-rw-r--r-- | meta/packages/diffutils/diffutils_2.8.1.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/packages/diffutils/diffutils_2.8.1.bb b/meta/packages/diffutils/diffutils_2.8.1.bb new file mode 100644 index 0000000000..a0a7b7dad9 --- /dev/null +++ b/meta/packages/diffutils/diffutils_2.8.1.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SECTION = "base" | ||
2 | LICENSE = "GPL" | ||
3 | DESCRIPTION = "Diffutils contains the GNU diff, diff3, \ | ||
4 | sdiff, and cmp utilities. These programs are usually \ | ||
5 | used for creating patch files." | ||
6 | PR = "r2" | ||
7 | |||
8 | SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz" | ||
9 | |||
10 | inherit autotools update-alternatives | ||
11 | |||
12 | # diffutils assumes non-glibc compilation with uclibc and | ||
13 | # this causes it to generate its own implementations of | ||
14 | # standard functionality. regex.c actually breaks compilation | ||
15 | # because it uses __mempcpy, there are other things (TBD: | ||
16 | # see diffutils.mk in buildroot) | ||
17 | EXTRA_OECONF_linux-uclibc = "--without-included-regex" | ||
18 | |||
19 | do_install_append () { | ||
20 | mv ${D}${bindir}/diff ${D}${bindir}/diff.${PN} | ||
21 | } | ||
22 | |||
23 | ALTERNATIVE_NAME = "diff" | ||
24 | ALTERNATIVE_PATH = "diff.${PN}" | ||
25 | ALTERNATIVE_PRIORITY = "100" | ||