diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-08-13 00:15:48 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-11-20 18:34:02 +0100 |
commit | 333acdfca16e2dfef81f65ddc6fce8e91405b8ac (patch) | |
tree | 74b931ffe21f429947783f41699ef108abf67870 /eclass/kde5-meta-pkg.eclass | |
parent | dev-python/collectd-rabbitmq: remove PYTHON_TARGETS != python2_7. (diff) | |
download | gentoo-333acdfca16e2dfef81f65ddc6fce8e91405b8ac.tar.gz gentoo-333acdfca16e2dfef81f65ddc6fce8e91405b8ac.tar.bz2 gentoo-333acdfca16e2dfef81f65ddc6fce8e91405b8ac.zip |
out-of-source.eclass: A new eclass to help with out-of-source builds
The out-of-source.eclass is a simple multilib-minimal-style wrapper
to perform out of source builds of autotools (and other) packages. It is
mostly derived from the function served in the past by autotools-utils
since a number of developers found it useful. However, in order to avoid
the mistakes of autotools-utils, it is meant to be focused on a single
feature and have a better API.
This eclass has two use cases:
1. Ensuring that packages are tested with out-of-source builds.
2. Improving consistency between multilib and non-multilib packages.
In the most basic form, it just redefines the phases from src_configure()
to src_install() with out-of-source wrappers. However, each phase can
be overriden using my_src_*() sub-phase that is run inside build dir
(alike multilib_src_*() in multilib-minimal). There is also
my_src_install_all() for the trailing source-dir actions.
Diffstat (limited to 'eclass/kde5-meta-pkg.eclass')
0 files changed, 0 insertions, 0 deletions