2010-02-18 04:47:45 +01:00
|
|
|
# Template file for 'ruby-rdoc'.
|
|
|
|
#
|
2012-05-23 18:26:56 +02:00
|
|
|
depends="ruby-irb ruby"
|
2010-02-18 04:47:45 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
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}
|
|
|
|
}
|