diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
| commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
| tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-extended/findutils/findutils_4.4.2.bb | |
| parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
| download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz | |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/findutils/findutils_4.4.2.bb')
| -rw-r--r-- | meta/recipes-extended/findutils/findutils_4.4.2.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/findutils/findutils_4.4.2.bb b/meta/recipes-extended/findutils/findutils_4.4.2.bb new file mode 100644 index 0000000000..18514f36ea --- /dev/null +++ b/meta/recipes-extended/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" | ||
