void-packages/xbps-src/helpers/waf.sh

18 lines
331 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() {
if [ -z "$make_install_args" ]; then
make_install_args="--destdir=$DESTDIR"
fi
python waf install ${make_install_args}
}