xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style.

This commit is contained in:
Juan RP 2015-02-21 12:13:07 +01:00
parent 724426f8e7
commit df4c861f97
19 changed files with 11 additions and 6 deletions

14
common/build-style/waf.sh Normal file
View file

@ -0,0 +1,14 @@
#
# 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() {
python waf install --destdir=${DESTDIR} ${make_install_args}
}