diff options
Diffstat (limited to 'meta/packages/findutils/findutils_4.4.2.bb')
-rw-r--r-- | meta/packages/findutils/findutils_4.4.2.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/findutils/findutils_4.4.2.bb b/meta/packages/findutils/findutils_4.4.2.bb new file mode 100644 index 0000000000..18514f36ea --- /dev/null +++ b/meta/packages/findutils/findutils_4.4.2.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | require findutils.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | |||
5 | SRC_URI += "file://01-27017.patch \ | ||
6 | file://02-28824.patch \ | ||
7 | file://03-28872.patch" | ||
8 | |||
9 | # http://savannah.gnu.org/bugs/?27299 | ||
10 | EXTRA_OECONF += "gl_cv_func_wcwidth_works=yes" | ||
11 | |||
12 | do_install_append () { | ||
13 | if [ -e ${D}${bindir}/find ]; then | ||
14 | mv ${D}${bindir}/find ${D}${bindir}/find.${PN} | ||
15 | mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN} | ||
16 | fi | ||
17 | } | ||
18 | |||
19 | pkg_postinst_${PN} () { | ||
20 | for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done | ||
21 | } | ||
22 | |||
23 | pkg_prerm_${PN} () { | ||
24 | for i in find xargs; do update-alternatives --remove $i $i.${PN}; done | ||
25 | } | ||
26 | |||
27 | BBCLASSEXTEND = "native" | ||