mirror of
https://github.com/void-linux/void-packages.git
synced 2025-05-15 12:23:51 +02:00
17 lines
331 B
Bash
17 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}
|
|
}
|