hooks/prepare-32bit: do not create 32bit pkgs for perl/python/ruby modules.

This commit is contained in:
Juan RP 2015-01-19 10:49:27 +01:00
parent ed8de281e4
commit 38c9ebf6df
1 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,14 @@
hook() {
local destdir32=${XBPS_DESTDIR}/${pkgname}-32bit-${version}
# Do not build 32bit pkgs for:
# - perl modules
# - python modules
# - ruby modules
if [[ $build_style =~ (perl|python|ruby) ]]; then
return
fi
# By default always enabled unless "lib32disabled" is set.
if [ -n "$lib32disabled" ]; then
return