summaryrefslogtreecommitdiff
path: root/packages/findutils/findutils_4.2.29.bb
blob: 6de63af151e541175dfb051daccbf91a7d78d89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require findutils.inc

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
}