90204b7b28
By default now it's assumed that if $build_style is not set, the template uses 'custom-install' build, .e.g do_{build,configure,install}. If it's set, a helper with the same name with .sh extension will be sourced to set do_{build,configure,install} phases. The exception is "meta-template" which currently it must be set via build_style, probably will change in the future.
12 lines
306 B
Bash
12 lines
306 B
Bash
#
|
|
# This helper is for templates using configure scripts (not generated
|
|
# by the GNU autotools).
|
|
#
|
|
|
|
do_configure() {
|
|
[ -z "$configure_script" ] && configure_script="./configure"
|
|
${configure_script} ${configure_args}
|
|
}
|
|
|
|
# configure scripts use make(1) to build/install.
|
|
. $XBPS_HELPERSDIR/gnu-makefile.sh
|