summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-571492a1558176fd20bf6234bebb0fab5b337916.tar.gz
openembedded-core-571492a1558176fd20bf6234bebb0fab5b337916.tar.bz2
openembedded-core-571492a1558176fd20bf6234bebb0fab5b337916.zip
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 @@
+require findutils.inc
+
+inherit native
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/findutils-${PV}"
+
+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 @@
+DESCRIPTION = "find, locate, and xargs binaries."
+SECTION = "console/utils"
+LICENSE = "GPL"
+
+SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz"
+
+inherit autotools gettext
+
+# diffutils assumes non-glibc compilation with uclibc and
+# this causes it to generate its own implementations of
+# standard functionality. regex.c actually breaks compilation
+# because it uses __mempcpy, there are other things (TBD:
+# see diffutils.mk in buildroot)
+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 @@
+require findutils.inc
+
+do_install_append () {
+ mv ${D}${bindir}/find ${D}${bindir}/find.${PN}
+ mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN}
+}
+
+pkg_postinst_${PN} () {
+ for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done
+}
+
+pkg_prerm_${PN} () {
+ for i in find xargs; do update-alternatives --remove $i $i.${PN}; done
+}