ruby: update to 1.9.1p376, convert to subpkgs.

--HG--
extra : convert_revision : 6b9c35be4ef930df22d81d2a2263710302c89313
This commit is contained in:
Juan RP
2010-02-18 04:47:45 +01:00
parent 82b63b06d4
commit 877486087d
12 changed files with 159 additions and 8 deletions

View File

@@ -0,0 +1,31 @@
# Template file for 'ruby-rdoc'.
#
short_desc="Generate documentation from Ruby source files"
long_desc="
RDoc - Documentation from Ruby Source Files:
* Generates structured HTML and XML documentation from Ruby source
and C extensions.
* Automatically extracts class, module, method, and attribute
definitions. These can be annotated using inline comments.
* Analyzes method visibility.
* Handles aliasing.
* Uses non-intrusive and implicit markup in the comments. Readers of
the original source needn't know that it is marked up at all.
This package provides the RDoc tool which uses Ruby ${version}."
noarch=yes
Add_dependency run ruby-irb
Add_dependency run ruby
do_install()
{
local libdir=/usr/lib/ruby/1.9.1
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/${libdir}
mv ${SRCPKGDESTDIR}/usr/bin/rdoc ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/${libdir}/rdoc ${DESTDIR}/${libdir}
}