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

18 lines
331 B
Bash
Raw Normal View History

2011-10-24 12:32:32 +00:00
#
# This helper is for templates using WAF to build/install.
#
do_configure() {
python waf configure --prefix=/usr ${configure_args}
2011-10-24 12:32:32 +00:00
}
do_build() {
python waf build ${make_build_args}
2011-10-24 12:32:32 +00:00
}
do_install() {
if [ -z "$make_install_args" ]; then
make_install_args="--destdir=$DESTDIR"
fi
python waf install ${make_install_args}
2011-10-24 12:32:32 +00:00
}