ruby: update to 1.9.1p376, convert to subpkgs.
--HG-- extra : convert_revision : 6b9c35be4ef930df22d81d2a2263710302c89313
This commit is contained in:
parent
82b63b06d4
commit
877486087d
12 changed files with 159 additions and 8 deletions
30
srcpkgs/ruby/ruby-gems.template
Normal file
30
srcpkgs/ruby/ruby-gems.template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'ruby-gems'.
|
||||
#
|
||||
short_desc="Package management framework for Ruby libraries/applications"
|
||||
long_desc="
|
||||
This is a way to package Ruby libraries/applications for distribution.
|
||||
RubyGems provides the ability to manage concurrent versions of libraries
|
||||
and dependencies between those libraries. Using RubyGems, you can:
|
||||
|
||||
* download and install Ruby libraries easily
|
||||
* not worry about libraries A and B depending on different versions of
|
||||
library C
|
||||
* easily remove libraries you no longer use
|
||||
|
||||
This package provides RubyGems with Ruby 1.9.1."
|
||||
|
||||
noarch=yes
|
||||
|
||||
Add_dependency run ruby-rdoc
|
||||
Add_dependency run ruby
|
||||
|
||||
do_install()
|
||||
{
|
||||
local libdir=/usr/lib/ruby/1.9.1
|
||||
|
||||
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/${libdir}
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/gem ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/${libdir}/ubygems.rb ${DESTDIR}/${libdir}
|
||||
mv ${SRCPKGDESTDIR}/${libdir}/rubygems ${DESTDIR}/${libdir}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue