diff options
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby_2.5.3.bb')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby_2.5.3.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_2.5.3.bb b/meta/recipes-devtools/ruby/ruby_2.5.3.bb index 173b44b377..519daf294f 100644 --- a/meta/recipes-devtools/ruby/ruby_2.5.3.bb +++ b/meta/recipes-devtools/ruby/ruby_2.5.3.bb | |||
@@ -3,6 +3,7 @@ require ruby.inc | |||
3 | SRC_URI += " \ | 3 | SRC_URI += " \ |
4 | file://ruby-CVE-2017-9226.patch \ | 4 | file://ruby-CVE-2017-9226.patch \ |
5 | file://ruby-CVE-2017-9228.patch \ | 5 | file://ruby-CVE-2017-9228.patch \ |
6 | file://run-ptest \ | ||
6 | " | 7 | " |
7 | 8 | ||
8 | SRC_URI[md5sum] = "20c85b67846d49622ef3b24230803fef" | 9 | SRC_URI[md5sum] = "20c85b67846d49622ef3b24230803fef" |
@@ -55,6 +56,13 @@ do_install_append_class-target () { | |||
55 | 56 | ||
56 | } | 57 | } |
57 | 58 | ||
59 | do_install_ptest () { | ||
60 | cp -rf ${S}/test ${D}${PTEST_PATH}/ | ||
61 | cp -r ${S}/include ${D}/${libdir}/ruby/ | ||
62 | test_case_rb=`grep rubygems/test_case.rb ${B}/.installed.list` | ||
63 | sed -i -e 's:../../../test/:../../../ptest/test/:g' ${D}/$test_case_rb | ||
64 | } | ||
65 | |||
58 | PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc" | 66 | PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc" |
59 | 67 | ||
60 | SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library" | 68 | SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library" |
@@ -67,4 +75,6 @@ FILES_${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc" | |||
67 | 75 | ||
68 | FILES_${PN} += "${datadir}/rubygems" | 76 | FILES_${PN} += "${datadir}/rubygems" |
69 | 77 | ||
78 | FILES_${PN}-ptest_append_class-target += "${libdir}/ruby/include" | ||
79 | |||
70 | BBCLASSEXTEND = "native" | 80 | BBCLASSEXTEND = "native" |