14 lines
330 B
Bash
14 lines
330 B
Bash
#
|
|
# 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() {
|
|
PYTHON=python3 python3 waf install --destdir=${DESTDIR} ${make_install_args}
|
|
}
|