summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/ruby/ruby_2.5.1.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_2.5.1.bb b/meta/recipes-devtools/ruby/ruby_2.5.1.bb
index af2739a43d..1197323e90 100644
--- a/meta/recipes-devtools/ruby/ruby_2.5.1.bb
+++ b/meta/recipes-devtools/ruby/ruby_2.5.1.bb
@@ -35,6 +35,26 @@ do_install() {
35 oe_runmake 'DESTDIR=${D}' install 35 oe_runmake 'DESTDIR=${D}' install
36} 36}
37 37
38do_install_append_class-target () {
39 # Find out rbconfig.rb from .installed.list
40 rbconfig_rb=`grep rbconfig.rb ${B}/.installed.list`
41 # Remove build host directories
42 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \
43 -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
44 -e 's|${DEBUG_PREFIX_MAP}||g' \
45 -e 's:${HOSTTOOLS_DIR}/::g' \
46 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
47 -e 's:${RECIPE_SYSROOT}::g' \
48 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
49 ${D}$rbconfig_rb
50
51 # Find out created.rid from .installed.list
52 created_rid=`grep created.rid ${B}/.installed.list`
53 # Remove build host directories
54 sed -i -e 's:${WORKDIR}::g' ${D}$created_rid
55
56}
57
38PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc" 58PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc"
39 59
40SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library" 60SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library"