2 # This helper is for templates installing ruby modules.
6 local _vendorlibdir
=$
(ruby
-e 'puts RbConfig::CONFIG["vendorlibdir"]')
8 if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
9 _vendorlibdir
="${_vendorlibdir//lib$XBPS_WORDSIZE/lib$XBPS_TARGET_WORDSIZE}"
12 LANG
=C ruby
install.rb
--destdir=${DESTDIR} --sitelibdir=${_vendorlibdir} ${make_install_args}