2014-11-25 17:54:17 +01:00
|
|
|
#
|
|
|
|
# This helper is for templates installing ruby modules.
|
|
|
|
#
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
local _vendorlibdir=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]')
|
|
|
|
|
2015-07-29 10:24:53 +02:00
|
|
|
LANG=C ruby install.rb --destdir=${DESTDIR} --sitelibdir=${_vendorlibdir} ${make_install_args}
|
2014-11-25 17:54:17 +01:00
|
|
|
}
|