mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-10 09:03:50 +02:00
20 lines
404 B
Bash
20 lines
404 B
Bash
#
|
|
# This helper is for templates using WAF to build/install.
|
|
#
|
|
do_configure() {
|
|
: ${configure_script:=waf}
|
|
|
|
python ${configure_script} configure --prefix=/usr ${configure_args}
|
|
}
|
|
|
|
do_build() {
|
|
: ${configure_script:=waf}
|
|
|
|
python ${configure_script} build ${make_build_args}
|
|
}
|
|
|
|
do_install() {
|
|
: ${configure_script:=waf}
|
|
|
|
python ${configure_script} install --destdir=${DESTDIR} ${make_install_args}
|
|
}
|