2014-01-07 17:29:49 +01:00
|
|
|
#
|
|
|
|
# This helper is for templates using WAF with python3 to build/install.
|
|
|
|
#
|
|
|
|
do_configure() {
|
|
|
|
PYTHON=python3 python3 waf configure --prefix=/usr ${configure_args}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
PYTHON=python3 python3 waf build ${make_build_args}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2015-02-19 16:38:30 +01:00
|
|
|
PYTHON=python3 python3 waf install --destdir=${DESTDIR} ${make_install_args}
|
2014-01-07 17:29:49 +01:00
|
|
|
}
|