Building software¶
batou has some support for downloading and compiling software packages, aka the
configure
-make
-make install
(CMMI) dance. Example usage:
self += Build(
'http://python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2',
checksum='md5:7dffe775f3bea68a44f762a3490e5e28',
configure_args='--with-libs=-lssl')
-
class
batou.lib.cmmi.
Build
(url)¶ Download archive from
url
, extract it and run CMMI on it.
-
checksum
- Checksum for download (see
batou.lib.download.Download.checksum
for details)
-
prefix
¶ Path to use as prefix for the installation (passed to
configure --prefix
) [Default: workdir of parent component]
-
configure_args
¶ String of additional arguments to pass to
configure
.
-
build_environment
¶ Dict of variables to add to the environment during all CMMI invocations.