mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
27
meta/recipes-extended/findutils/findutils_4.4.2.bb
Normal file
27
meta/recipes-extended/findutils/findutils_4.4.2.bb
Normal file
@@ -0,0 +1,27 @@
|
||||
require findutils.inc
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI += "file://01-27017.patch \
|
||||
file://02-28824.patch \
|
||||
file://03-28872.patch"
|
||||
|
||||
# http://savannah.gnu.org/bugs/?27299
|
||||
EXTRA_OECONF += "gl_cv_func_wcwidth_works=yes"
|
||||
|
||||
do_install_append () {
|
||||
if [ -e ${D}${bindir}/find ]; then
|
||||
mv ${D}${bindir}/find ${D}${bindir}/find.${PN}
|
||||
mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN}
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user