findutils_4.10.0.bb 905 B

123456789101112131415161718192021222324252627
  1. require findutils.inc
  2. # GPL-2.0-or-later (<< 4.2.32), GPL-3.0-or-later (>= 4.2.32)
  3. LICENSE = "GPL-3.0-or-later"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
  5. DEPENDS = "bison-native"
  6. SRC_URI[sha256sum] = "1387e0b67ff247d2abde998f90dfbf70c1491391a59ddfecb8ae698789f0a4f5"
  7. PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
  8. # http://savannah.gnu.org/bugs/?27299
  9. CACHED_CONFIGUREVARS += "gl_cv_func_wcwidth_works=yes"
  10. EXTRA_OECONF += "ac_cv_path_SORT=${bindir}/sort"
  11. # need od from coreutils for -t option
  12. RDEPENDS:${PN}-ptest += "bash sed grep coreutils coreutils-getlimits"
  13. do_install_ptest:class-target() {
  14. mkdir -p ${D}${PTEST_PATH}/tests/
  15. cp ${S}/init.cfg ${D}${PTEST_PATH}
  16. cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/
  17. # substitute value in run-ptest with actual version
  18. sed -i -e 's/__run_ptest_version__/${PV}/' ${D}${PTEST_PATH}/run-ptest
  19. }