summaryrefslogtreecommitdiffstats
path: root/meta/packages/diffutils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/diffutils')
-rw-r--r--meta/packages/diffutils/diffutils_2.8.1.bb25
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 @@
1SECTION = "base"
2LICENSE = "GPL"
3DESCRIPTION = "Diffutils contains the GNU diff, diff3, \
4sdiff, and cmp utilities. These programs are usually \
5used for creating patch files."
6PR = "r2"
7
8SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz"
9
10inherit 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)
17EXTRA_OECONF_linux-uclibc = "--without-included-regex"
18
19do_install_append () {
20 mv ${D}${bindir}/diff ${D}${bindir}/diff.${PN}
21}
22
23ALTERNATIVE_NAME = "diff"
24ALTERNATIVE_PATH = "diff.${PN}"
25ALTERNATIVE_PRIORITY = "100"