17 lines
293 B
Bash
17 lines
293 B
Bash
|
#
|
||
|
# This helper is for templates using WAF to build/install.
|
||
|
#
|
||
|
do_configure() {
|
||
|
python waf configure --prefix=/usr ${configure_args}
|
||
|
}
|
||
|
|
||
|
do_build() {
|
||
|
python waf build ${make_build_args}
|
||
|
}
|
||
|
|
||
|
do_install() {
|
||
|
make_install_args+=" --destdir=${DESTDIR}"
|
||
|
|
||
|
python waf install ${make_install_args}
|
||
|
}
|