Added build_style and cross-profiles dirs from xbps-src.
This commit is contained in:
16
common/build_style/waf.sh
Normal file
16
common/build_style/waf.sh
Normal 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}
|
||||
}
|
||||
Reference in New Issue
Block a user