2010-02-18 04:47:45 +01:00
|
|
|
# Template file for 'ruby-ri'.
|
|
|
|
#
|
2012-05-23 18:26:56 +02:00
|
|
|
depends="ruby-rdoc ruby"
|
2010-02-18 04:47:45 +01:00
|
|
|
short_desc="Ruby Interactive reference"
|
|
|
|
long_desc="
|
|
|
|
ri is a command line tool that displays descriptions of built-in Ruby
|
|
|
|
methods, classes, and modules. For methods, it shows you the calling
|
|
|
|
sequence and a description. For classes and modules, it shows a synopsis
|
|
|
|
along with a list of the methods the class or module implements.
|
|
|
|
|
|
|
|
This package provides ri command and descriptions about Ruby 1.9.1."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
|
|
|
|
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/ri ${DESTDIR}/usr/bin
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/ri ${DESTDIR}/usr/share
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man1/ri* \
|
|
|
|
${DESTDIR}/usr/share/man/man1
|
|
|
|
}
|