summaryrefslogtreecommitdiff
path: root/recipes/findutils/findutils_4.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/findutils/findutils_4.4.bb')
-rw-r--r--recipes/findutils/findutils_4.4.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/findutils/findutils_4.4.bb b/recipes/findutils/findutils_4.4.bb
new file mode 100644
index 0000000000..25dec2592e
--- /dev/null
+++ b/recipes/findutils/findutils_4.4.bb
@@ -0,0 +1,14 @@
+require findutils.inc
+
+PR = "r1"
+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
+}