New build_style: ruby-module - for install.rb ruby modules.

This commit is contained in:
Juan RP 2014-11-25 17:54:17 +01:00
parent e7973c487f
commit 99becc55bd
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#
# This helper is for templates installing ruby modules.
#
do_install() {
local _vendorlibdir=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]')
ruby install.rb --destdir=${DESTDIR} --sitelibdir=${_vendorlibdir} ${make_install_args}
}