xz: update to 5.6.2.
[void-pkg.git] / common / build-style / ruby-module.sh
blobc45d1cd687e53b82d4847e5402e5639ef2fd8558
2 # This helper is for templates installing ruby modules.
5 do_install() {
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}