Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | require findutils.inc |
| 2 | |
| 3 | # GPLv2+ (<< 4.2.32), GPLv3+ (>= 4.2.32) |
| 4 | LICENSE = "GPLv3+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" |
| 6 | |
| 7 | DEPENDS = "bison-native" |
| 8 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 9 | SRC_URI[sha256sum] = "57127b7e97d91282c6ace556378d5455a9509898297e46e10443016ea1387164" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 11 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | # http://savannah.gnu.org/bugs/?27299 |
| 13 | CACHED_CONFIGUREVARS += "gl_cv_func_wcwidth_works=yes" |
| 14 | |
| 15 | EXTRA_OECONF += "ac_cv_path_SORT=${bindir}/sort" |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 16 | |
| 17 | RDEPENDS:${PN}-ptest += "bash sed grep" |
| 18 | |
| 19 | do_install_ptest:class-target() { |
| 20 | mkdir -p ${D}${PTEST_PATH}/tests/ |
| 21 | cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 22 | |
| 23 | # substitute value in run-ptest with actual version |
| 24 | sed -i -e 's/__run_ptest_version__/${PV}/' ${D}${PTEST_PATH}/run-ptest |
| 25 | |
| 26 | } |