diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-21 10:57:30 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-21 10:57:30 +0000 |
commit | 571492a1558176fd20bf6234bebb0fab5b337916 (patch) | |
tree | 1fd253cfae58d65e591b615faf1ce7616b6f2e5c /meta | |
parent | bc31acfd1e830c504fcfc53e5cd54ca82540f7f5 (diff) | |
download | poky-571492a1558176fd20bf6234bebb0fab5b337916.tar.gz |
findutils: added 4.2.29 from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3202 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/findutils/findutils-native_4.2.29.bb | 7 | ||||
-rw-r--r-- | meta/packages/findutils/findutils.inc | 14 | ||||
-rw-r--r-- | meta/packages/findutils/findutils_4.2.29.bb | 14 |
3 files changed, 35 insertions, 0 deletions
diff --git a/meta/packages/findutils/findutils-native_4.2.29.bb b/meta/packages/findutils/findutils-native_4.2.29.bb new file mode 100644 index 0000000000..cb6d72f1e9 --- /dev/null +++ b/meta/packages/findutils/findutils-native_4.2.29.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require findutils.inc | ||
2 | |||
3 | inherit native | ||
4 | |||
5 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/findutils-${PV}" | ||
6 | |||
7 | S = "${WORKDIR}/findutils-${PV}" | ||
diff --git a/meta/packages/findutils/findutils.inc b/meta/packages/findutils/findutils.inc new file mode 100644 index 0000000000..e054dd0cc7 --- /dev/null +++ b/meta/packages/findutils/findutils.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "find, locate, and xargs binaries." | ||
2 | SECTION = "console/utils" | ||
3 | LICENSE = "GPL" | ||
4 | |||
5 | SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz" | ||
6 | |||
7 | inherit autotools gettext | ||
8 | |||
9 | # diffutils assumes non-glibc compilation with uclibc and | ||
10 | # this causes it to generate its own implementations of | ||
11 | # standard functionality. regex.c actually breaks compilation | ||
12 | # because it uses __mempcpy, there are other things (TBD: | ||
13 | # see diffutils.mk in buildroot) | ||
14 | EXTRA_OECONF_linux-uclibc = "--without-included-regex" | ||
diff --git a/meta/packages/findutils/findutils_4.2.29.bb b/meta/packages/findutils/findutils_4.2.29.bb new file mode 100644 index 0000000000..2f40d03bd4 --- /dev/null +++ b/meta/packages/findutils/findutils_4.2.29.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | require findutils.inc | ||
2 | |||
3 | do_install_append () { | ||
4 | mv ${D}${bindir}/find ${D}${bindir}/find.${PN} | ||
5 | mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN} | ||
6 | } | ||
7 | |||
8 | pkg_postinst_${PN} () { | ||
9 | for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done | ||
10 | } | ||
11 | |||
12 | pkg_prerm_${PN} () { | ||
13 | for i in find xargs; do update-alternatives --remove $i $i.${PN}; done | ||
14 | } | ||