summaryrefslogtreecommitdiff
path: root/recipes/findutils/findutils_4.2.29.bb
blob: a89d0924f49c87a874b8a9310e0b1093476a02ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}