summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/onig/onig_6.9.9.bb
diff options
context:
space:
mode:
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.bb34
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 @@
1SUMMARY = "Regular expressions library"
2DESCRIPTION = "Oniguruma is a modern and flexible regular expressions library. \
3It encompasses features from different regular expression \
4implementations that traditionally exist in different languages. \
5Character encoding can be specified per regular expression object."
6HOMEPAGE = "https://github.com/kkos/oniguruma"
7LICENSE = "BSD-2-Clause"
8LIC_FILES_CHKSUM = "file://COPYING;md5=e6365c225bb5cc4321d0913f0baffa04"
9
10SRC_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
17SRC_URI[sha256sum] = "60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf"
18
19BINCONFIG = "${bindir}/onig-config"
20
21inherit autotools binconfig-disabled ptest
22
23BBCLASSEXTEND = "native"
24
25do_compile_ptest() {
26 oe_runmake -C test buildtest-TESTS
27}
28
29do_install_ptest() {
30 mkdir -p ${D}${PTEST_PATH}/tests
31 install -m 0755 -t ${D}${PTEST_PATH}/tests/ ${B}/test/.libs/*
32}
33
34PROVIDES += "oniguruma"