summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-11-21 10:57:30 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-11-21 10:57:30 +0000
commit571492a1558176fd20bf6234bebb0fab5b337916 (patch)
tree1fd253cfae58d65e591b615faf1ce7616b6f2e5c /meta
parentbc31acfd1e830c504fcfc53e5cd54ca82540f7f5 (diff)
downloadpoky-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.bb7
-rw-r--r--meta/packages/findutils/findutils.inc14
-rw-r--r--meta/packages/findutils/findutils_4.2.29.bb14
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 @@
1require findutils.inc
2
3inherit native
4
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/findutils-${PV}"
6
7S = "${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 @@
1DESCRIPTION = "find, locate, and xargs binaries."
2SECTION = "console/utils"
3LICENSE = "GPL"
4
5SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz"
6
7inherit 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)
14EXTRA_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 @@
1require findutils.inc
2
3do_install_append () {
4 mv ${D}${bindir}/find ${D}${bindir}/find.${PN}
5 mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN}
6}
7
8pkg_postinst_${PN} () {
9 for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done
10}
11
12pkg_prerm_${PN} () {
13 for i in find xargs; do update-alternatives --remove $i $i.${PN}; done
14}