diff options
Diffstat (limited to 'recipes/findutils/findutils_4.2.29.bb')
-rw-r--r-- | recipes/findutils/findutils_4.2.29.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/findutils/findutils_4.2.29.bb b/recipes/findutils/findutils_4.2.29.bb new file mode 100644 index 0000000000..a89d0924f4 --- /dev/null +++ b/recipes/findutils/findutils_4.2.29.bb @@ -0,0 +1,15 @@ +require findutils.inc + +PR = "r1" + +SRC_URI += "file://mkinstalldirs.patch;patch=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 +} |