2011-10-24 12:32:32 +00:00
|
|
|
#
|
|
|
|
# This helper is for templates using WAF to build/install.
|
|
|
|
#
|
|
|
|
do_configure() {
|
2011-10-28 08:47:20 +00:00
|
|
|
python waf configure --prefix=/usr ${configure_args}
|
2011-10-24 12:32:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
2011-10-28 08:47:20 +00:00
|
|
|
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
|
2011-10-28 08:47:20 +00:00
|
|
|
python waf install ${make_install_args}
|
2011-10-24 12:32:32 +00:00
|
|
|
}
|