summaryrefslogtreecommitdiff
path: root/packages/findutils/findutils_4.4.bb
diff options
context:
space:
mode:
authorwoglinde <heinold@inf.fu-berlin.de>2008-11-01 22:14:40 +0100
committerwoglinde <heinold@inf.fu-berlin.de>2008-11-01 22:14:40 +0100
commita162fd85ae232c2211e5cad12dfb435a7e04c848 (patch)
treebf214eea2f79e7df1b0e85f80180cff1a5737017 /packages/findutils/findutils_4.4.bb
parent7806a7f622a7d318986ce61e512002441551d961 (diff)
findutils: update to latest version 4.4, but not enabled yet
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
+}