void-packages/srcpkgs/ruby/ruby-irb.template
Juan RP 877486087d ruby: update to 1.9.1p376, convert to subpkgs.
--HG--
extra : convert_revision : 6b9c35be4ef930df22d81d2a2263710302c89313
2010-02-18 04:47:45 +01:00

25 lines
586 B
Text

# Template file for 'ruby-irb'.
#
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
Add_dependency run ruby
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
}