summaryrefslogtreecommitdiff
path: root/packages/findutils/findutils_4.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/findutils/findutils_4.4.bb')
-rw-r--r--packages/findutils/findutils_4.4.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/findutils/findutils_4.4.bb b/packages/findutils/findutils_4.4.bb
new file mode 100644
index 0000000000..844f206460
--- /dev/null
+++ b/packages/findutils/findutils_4.4.bb
@@ -0,0 +1,13 @@
+require findutils.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+EXTRA_OECONF += " ac_cv_path_SORT=/usr/bin/sort "
+
+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
+}