summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.