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