summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2016-02-15 17:32:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-19 01:01:25 +0000
commitaf7e51664034c544d7d7d35c6d968acc36513da3 (patch)
tree92145cb0aa20b4f83ce4d6b9616f21cd60f70c65 /meta/recipes-devtools
parent8bcf139150644a20b0bebd39239b991352a6b8fd (diff)
downloadpoky-af7e51664034c544d7d7d35c6d968acc36513da3.tar.gz
ruby: break out ri-docs and rdoc into separate packages
The ri (Ruby Interactive) documentation for the Ruby standard library consumes a significant amount of space on disk. It is useful to developers, but is usually not necessary for users who just want to run applications written in Ruby. Break it out into a separate package so Ruby can be installed without it. Also break out the rdoc documentation generator in its own package. (From OE-Core rev: adc53d40932151b4822ce2ac74cb31306684ba95) Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/ruby/ruby_2.2.2.bb13
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() {
31 oe_runmake 'DESTDIR=${D}' install 31 oe_runmake 'DESTDIR=${D}' install
32} 32}
33 33
34FILES_${PN} += "${datadir}/rubygems \ 34PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc"
35 ${datadir}/ri" 35
36SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library"
37RDEPENDS_${PN}-ri-docs = "${PN}"
38FILES_${PN}-ri-docs += "${datadir}/ri"
39
40SUMMARY_${PN}-rdoc = "RDoc documentation generator from Ruby source"
41RDEPENDS_${PN}-rdoc = "${PN}"
42FILES_${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc"
43
44FILES_${PN} += "${datadir}/rubygems"
36 45
37BBCLASSEXTEND = "native" 46BBCLASSEXTEND = "native"