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