vp-build/common/build_style/waf.sh

17 lines
293 B
Bash
Raw Normal View History

#
# 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}
}