waf-utils.eclass

Name

waf-utils.eclass -- common ebuild functions for waf-based packages

Description

The waf-utils eclass contains functions that make creating ebuild for waf-based packages much easier. Its main features are support of common portage default settings.

Supported EAPIs

6 7 8

Exported Phases

  • src_compile

  • src_install

  • src_configure

Functions

waf-utils_src_configure

General function for configuring with waf.

waf-utils_src_compile

General function for compiling with waf.

waf-utils_src_install

Function for installing the package.

Variables

WAF_VERBOSE ?= ON (USER VARIABLE)

Set to OFF to disable verbose messages during compilation this is _not_ meant to be set in ebuilds

WAF_BINARY

Eclass can use different waf executable. Usually it is located in "${S}/waf".

Authors

Original Author: Gilles Dartiguelongue <eva@gentoo.org>

Various improvements based on cmake-utils.eclass: Tomáš Chvátal <scarabeus@gentoo.org>

Proper prefix support: Jonathan Callen <jcallen@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/