findutils: added 4.2.29 from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3202 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
bc31acfd1e
commit
571492a155
|
@ -0,0 +1,7 @@
|
|||
require findutils.inc
|
||||
|
||||
inherit native
|
||||
|
||||
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/findutils-${PV}"
|
||||
|
||||
S = "${WORKDIR}/findutils-${PV}"
|
|
@ -0,0 +1,14 @@
|
|||
DESCRIPTION = "find, locate, and xargs binaries."
|
||||
SECTION = "console/utils"
|
||||
LICENSE = "GPL"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz"
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
# diffutils assumes non-glibc compilation with uclibc and
|
||||
# this causes it to generate its own implementations of
|
||||
# standard functionality. regex.c actually breaks compilation
|
||||
# because it uses __mempcpy, there are other things (TBD:
|
||||
# see diffutils.mk in buildroot)
|
||||
EXTRA_OECONF_linux-uclibc = "--without-included-regex"
|
|
@ -0,0 +1,14 @@
|
|||
require findutils.inc
|
||||
|
||||
do_install_append () {
|
||||
mv ${D}${bindir}/find ${D}${bindir}/find.${PN}
|
||||
mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue