xbps-src: Migrate from build_style for 32bit pkgs
This allows dxpb to have a simpler test for whether or not a 32bit package will be built.
This commit is contained in:
parent
1ec953f637
commit
1edc8846ca
3 changed files with 2 additions and 8 deletions
1
common/environment/build-style/perl-ModuleBuild.sh
Normal file
1
common/environment/build-style/perl-ModuleBuild.sh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
lib32disabled=yes
|
1
common/environment/build-style/ruby-module.sh
Normal file
1
common/environment/build-style/ruby-module.sh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
lib32disabled=yes
|
|
@ -12,14 +12,6 @@
|
||||||
hook() {
|
hook() {
|
||||||
local destdir32=${XBPS_DESTDIR}/${pkgname}-32bit-${version}
|
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.
|
# By default always enabled unless "lib32disabled" is set.
|
||||||
if [ -n "$lib32disabled" ]; then
|
if [ -n "$lib32disabled" ]; then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue