mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 15: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:
37
meta/recipes-extended/findutils/findutils_4.2.31.bb
Normal file
37
meta/recipes-extended/findutils/findutils_4.2.31.bb
Normal file
@@ -0,0 +1,37 @@
|
||||
DESCRIPTION = "find, locate, and xargs binaries."
|
||||
HOMEPAGE = "http://www.gnu.org/software/findutils/"
|
||||
BUGTRACKER = "http://savannah.gnu.org/bugs/?group=findutils"
|
||||
SECTION = "console/utils"
|
||||
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz \
|
||||
file://gnulib-extension.patch"
|
||||
|
||||
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"
|
||||
|
||||
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