ruby: update to 1.9.1p376, convert to subpkgs.
--HG-- extra : convert_revision : 6b9c35be4ef930df22d81d2a2263710302c89313
This commit is contained in:
25
srcpkgs/ruby/ruby-irb.template
Normal file
25
srcpkgs/ruby/ruby-irb.template
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user