diff options
-rw-r--r-- | meta/recipes-devtools/ruby/ruby_2.2.2.bb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_2.2.2.bb b/meta/recipes-devtools/ruby/ruby_2.2.2.bb index 9b807a7cd9..6715023565 100644 --- a/meta/recipes-devtools/ruby/ruby_2.2.2.bb +++ b/meta/recipes-devtools/ruby/ruby_2.2.2.bb @@ -31,7 +31,16 @@ do_install() { oe_runmake 'DESTDIR=${D}' install } -FILES_${PN} += "${datadir}/rubygems \ - ${datadir}/ri" +PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc" + +SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library" +RDEPENDS_${PN}-ri-docs = "${PN}" +FILES_${PN}-ri-docs += "${datadir}/ri" + +SUMMARY_${PN}-rdoc = "RDoc documentation generator from Ruby source" +RDEPENDS_${PN}-rdoc = "${PN}" +FILES_${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc" + +FILES_${PN} += "${datadir}/rubygems" BBCLASSEXTEND = "native" |