2010-02-18 04:47:45 +01:00
|
|
|
# Template file for 'ruby-irb'.
|
|
|
|
#
|
2012-05-23 18:26:56 +02:00
|
|
|
depends="ruby"
|
2010-02-18 04:47:45 +01:00
|
|
|
short_desc="Interactive Ruby"
|
|
|
|
long_desc="
|
|
|
|
The irb is acronym for Interactive RuBy. It evaluates Ruby expression from
|
|
|
|
the terminal.
|
|
|
|
|
|
|
|
This package provides the irb which uses Ruby 1.9.1."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
local libdir=/usr/lib/ruby/1.9.1
|
|
|
|
|
|
|
|
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/${libdir} \
|
|
|
|
${DESTDIR}/usr/share/man/man1
|
|
|
|
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/irb ${DESTDIR}/usr/bin
|
|
|
|
mv ${SRCPKGDESTDIR}/${libdir}/irb ${DESTDIR}/${libdir}
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man1/irb* \
|
|
|
|
${DESTDIR}/usr/share/man/man1
|
|
|
|
}
|