aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/pre-pkg
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2015-01-19 09:49:27 +0000
committerJuan RP <xtraeme@gmail.com>2015-01-19 09:49:56 +0000
commit38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f (patch)
treeb6e468a7624f0c33909ff7244b4c0216d318fe9e /common/hooks/pre-pkg
parented8de281e4e8cbd4a950c1dfc5e790eabd888700 (diff)
downloadvoid-packages-38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f.tar
void-packages-38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f.tar.gz
void-packages-38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f.tar.bz2
void-packages-38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f.tar.lz
void-packages-38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f.tar.xz
void-packages-38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f.tar.zst
void-packages-38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f.zip
hooks/prepare-32bit: do not create 32bit pkgs for perl/python/ruby modules.
Diffstat (limited to 'common/hooks/pre-pkg')
-rw-r--r--common/hooks/pre-pkg/05-prepare-32bit.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/hooks/pre-pkg/05-prepare-32bit.sh b/common/hooks/pre-pkg/05-prepare-32bit.sh
index 2cc6c6ed7ca..b0743733f8a 100644
--- a/common/hooks/pre-pkg/05-prepare-32bit.sh
+++ b/common/hooks/pre-pkg/05-prepare-32bit.sh
@@ -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