ruby: move HTML C API docs to a new noarch pkg: ruby-devel-docs.

This commit is contained in:
Juan RP 2013-05-16 09:39:41 +02:00
parent aed3136e92
commit 5e04435ef2
2 changed files with 10 additions and 2 deletions

1
srcpkgs/ruby-devel-docs Symbolic link
View File

@ -0,0 +1 @@
ruby

View File

@ -4,7 +4,7 @@ _ruby_ver="2.0.0"
_ruby_distpatchver="p195"
_ruby_distver="${_ruby_ver}-${_ruby_distpatchver}"
version=${_ruby_ver}${_ruby_distpatchver}
revision=1
revision=2
wrksrc="${pkgname}-${_ruby_distver}"
short_desc="Ruby programming language"
homepage="http://www.ruby-lang.org/en/"
@ -33,6 +33,14 @@ if [ "$CROSS_BUILD" ]; then
}
fi
ruby-devel-docs_package() {
short_desc+=" - HTML C API documentation files"
noarch=yes
pkg_install() {
vmove usr/share/doc
}
}
ruby-devel_package() {
depends="ruby-${version}_${revision}"
short_desc+=" - development files"
@ -40,7 +48,6 @@ ruby-devel_package() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/ruby/2.0.0/mkmf.rb
vmove usr/share/doc
vmove usr/lib/pkgconfig
}
}