diff options
Diffstat (limited to 'meta-oe/recipes-support/onig/onig_6.9.9.bb')
| -rw-r--r-- | meta-oe/recipes-support/onig/onig_6.9.9.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/onig/onig_6.9.9.bb b/meta-oe/recipes-support/onig/onig_6.9.9.bb new file mode 100644 index 0000000000..b29437db1e --- /dev/null +++ b/meta-oe/recipes-support/onig/onig_6.9.9.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "Regular expressions library" | ||
| 2 | DESCRIPTION = "Oniguruma is a modern and flexible regular expressions library. \ | ||
| 3 | It encompasses features from different regular expression \ | ||
| 4 | implementations that traditionally exist in different languages. \ | ||
| 5 | Character encoding can be specified per regular expression object." | ||
| 6 | HOMEPAGE = "https://github.com/kkos/oniguruma" | ||
| 7 | LICENSE = "BSD-2-Clause" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=e6365c225bb5cc4321d0913f0baffa04" | ||
| 9 | |||
| 10 | SRC_URI = "\ | ||
| 11 | https://github.com/kkos/oniguruma/releases/download/v${PV}/${BP}.tar.gz \ | ||
| 12 | file://0001-build-don-t-link-against-host-system-libraries.patch \ | ||
| 13 | file://0002-build-enable-serial-tests-automake-option-for-ptest.patch \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | |||
| 17 | SRC_URI[sha256sum] = "60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf" | ||
| 18 | |||
| 19 | BINCONFIG = "${bindir}/onig-config" | ||
| 20 | |||
| 21 | inherit autotools binconfig-disabled ptest | ||
| 22 | |||
| 23 | BBCLASSEXTEND = "native" | ||
| 24 | |||
| 25 | do_compile_ptest() { | ||
| 26 | oe_runmake -C test buildtest-TESTS | ||
| 27 | } | ||
| 28 | |||
| 29 | do_install_ptest() { | ||
| 30 | mkdir -p ${D}${PTEST_PATH}/tests | ||
| 31 | install -m 0755 -t ${D}${PTEST_PATH}/tests/ ${B}/test/.libs/* | ||
| 32 | } | ||
| 33 | |||
| 34 | PROVIDES += "oniguruma" | ||
