62136a869a
from 4.2.29 4.2.31 is the last known GPL2 version changes for 4.4: - pulled upstream patch to fix bug #27017, #28824 and #28872 - using a workaround to address bug #27299, this was fixed in development branch 4.5.3 by using a new version of gnulib. however, upgrading gnulib needs too much effort here. changes for 4.2: - 4.2.31's gnulib/m4/extension.m4 won't work with autoconf 2.65, fix it by removing gnulib's AC_USE_SYSTEM_EXTENSIONS Signed-off-by: Qing He <qing.he@intel.com>
26 lines
641 B
BlitzBasic
26 lines
641 B
BlitzBasic
require findutils.inc
|
|
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
|
PR = "r0"
|
|
|
|
SRC_URI += "file://mkdir.patch \
|
|
file://gnulib-extension.patch"
|
|
|
|
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"
|