mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-14 02:48:06 +01:00
21 lines
524 B
Bash
21 lines
524 B
Bash
#
|
|
# This helper is for templates using WAF to build/install.
|
|
#
|
|
do_configure() {
|
|
: ${configure_script:=waf}
|
|
|
|
PYTHON=/usr/bin/python2 python2 ${configure_script} configure \
|
|
--prefix=/usr --libdir=/usr/lib${XBPS_TARGET_WORDSIZE} ${configure_args}
|
|
}
|
|
|
|
do_build() {
|
|
: ${configure_script:=waf}
|
|
|
|
PYTHON=/usr/bin/python2 python2 ${configure_script} build ${make_build_args}
|
|
}
|
|
|
|
do_install() {
|
|
: ${configure_script:=waf}
|
|
|
|
PYTHON=/usr/bin/python2 python2 ${configure_script} install --destdir=${DESTDIR} ${make_install_args}
|
|
}
|