Commit d95a97fa authored by Jérome Perrin's avatar Jérome Perrin Committed by Thomas Gambier

component/slapos: explicitly install everything in non-shared mode

When this is used in production, the slapos.cfg does not have shared
parts enabled, but disabling explicitly makes it easier to test, because
in testing environment we have shared parts enabled by default.
parent 62da6901
......@@ -33,12 +33,14 @@ init +=
(buildout['directory'], buildout['destdir'] + buildout['rootdir']))
[python3-common]
shared = false
configure-options +=
--prefix=${buildout:rootdir}/parts/${:_buildout_section_name_}
environment +=
DESTDIR=${buildout:destdir}
[bison]
shared = false
configure-options +=
--prefix=${buildout:rootdir}/parts/${:_buildout_section_name_}
make-options +=
......@@ -47,23 +49,28 @@ environment +=
PERL5LIB=${perl:location}/lib/5.38.0/
[intltool]
shared = false
environment +=
PERL5LIB=${perl:location}/lib/5.38.0/
[autoconf]
shared = false
environment +=
PERL5LIB=${perl:location}/lib/5.38.0/
[automake]
shared = false
environment +=
PERL5LIB=${perl:location}/lib/5.38.0/
[firewalld]
shared = false
environment +=
PERL5LIB=${perl:location}/lib/5.38.0/
[dbus]
shared = false
configure-options +=
--prefix=${buildout:rootdir}/parts/${:_buildout_section_name_}
make-options +=
......@@ -75,12 +82,14 @@ post-install =
mkdir -p ${buildout:destdir}/parts/${:_buildout_section_name_}/var/run/dbus
[dbus-glib]
shared = false
environment +=
LD_LIBRARY_PATH=${dbus:location}/lib
DBUS_CFLAGS=-I${dbus:location}/include/dbus-1.0 -I${dbus:location}/lib/dbus-1.0/include
[dbus-python]
shared = false
pre-configure =
sed -i 's#/opt/slapos/parts/dbus/lib/libdbus-1.la#${dbus:location}/lib/libdbus-1.la#' ${dbus-glib:location}/lib/libdbus-glib-1.la
environment +=
......@@ -100,6 +109,7 @@ environment +=
PERL5LIB=${perl:location}/lib/5.38.0/
[gobject-introspection]
shared = false
pre-configure +=
sed -i 's#!/opt/slapos/parts/python${python:version}/bin/python${python:version}#!${python:location}/bin/python${python:version}#' ${python:location}/bin/python${python:version}-config
configure-options +=
......@@ -110,17 +120,20 @@ post-install =
sed -i 's#!${python:location}/bin/python${python:version}#!/opt/slapos/parts/python${python:version}/bin/python${python:version}#' ${python:location}/bin/python${python:version}-config
[pygobject3]
shared = false
pre-configure +=
sed -i 's#!/opt/slapos/parts/python${python:version}/bin/python${python:version}#!${python:location}/bin/python${python:version}#' ${python:location}/bin/python${python:version}-config
post-install =
sed -i 's#!${python:location}/bin/python${python:version}#!/opt/slapos/parts/python${python:version}/bin/python${python:version}#' ${python:location}/bin/python${python:version}-config
[flex]
shared = false
environment +=
BISON_PKGDATADIR=${bison:location}/share/bison/
[perl-CPAN-package]
shared = false
perl-PERL5LIB=${perl:location}/lib/5.38.0/
pre-configure =
......@@ -131,6 +144,7 @@ post-install =
sed -i "s#'${buildout:destdir}/parts/site_perl#'/opt/slapos/parts/site_perl#" ${perl:location}/lib/5.38.0/*-linux-thread-multi/Config.pm
[perl]
shared = false
configure-command =
sh Configure -des \
-Dprefix=${buildout:rootdir}/parts/${:_buildout_section_name_} \
......@@ -144,12 +158,14 @@ environment +=
DESTDIR=${buildout:destdir}
[iptables]
shared = false
configure-options +=
--prefix=${buildout:rootdir}/parts/${:_buildout_section_name_}
environment +=
DESTDIR=${buildout:destdir}
[swig]
shared = false
configure-options +=
--prefix=${buildout:rootdir}/parts/${:_buildout_section_name_}
environment +=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment