Added build_style and cross-profiles dirs from xbps-src.

This commit is contained in:
Juan RP 2014-01-07 17:29:49 +01:00
parent 6751bcd379
commit 074bb4d726
19 changed files with 2122 additions and 0 deletions

16
common/build_style/waf.sh Normal file
View file

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