summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eclass: standardize prologue/epilogueDavid Seifert2023-03-171-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/30061 Signed-off-by: David Seifert <soap@gentoo.org>
* out-of-source.eclass: Document BUILD_DIRMichał Górny2023-01-071-1/+8
| | | | | Closes: https://github.com/gentoo/gentoo/pull/28907 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* out-of-source.eclass: canonical variable orderingDavid Seifert2022-01-221-3/+3
| | | | | Closes: https://github.com/gentoo/gentoo/pull/23910 Signed-off-by: David Seifert <soap@gentoo.org>
* out-of-source.eclass: remove EAPI 6David Seifert2022-01-221-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* out-of-source.eclass: enable EAPI 8David Seifert2022-01-221-3/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* out-of-source.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* out-of-source.eclass: Enable EAPI 7 (no changes)Michał Górny2018-05-071-2/+2
|
* out-of-source.eclass: A new eclass to help with out-of-source buildsMichał Górny2017-11-201-0/+124
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.