|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
802215 |
# set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
c27bea |
pkg_fetch_subdirs() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
49b460 |
if [ -z "${PKG_BUILD_DIR}" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d01c02 |
if [ -e "${PKG_BASE_DIR}/${PKG_SUBDIR}/configure" ]\
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d01c02 |
|| [ -e "${PKG_BASE_DIR}/${PKG_SUBDIR}/configure.ac" ]\
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d01c02 |
|| [ -e "${PKG_BASE_DIR}/${PKG_SUBDIR}/configure.in" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d01c02 |
PKG_BUILD_DIR="${PKG_BASE_DIR}/obj";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
49b460 |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d01c02 |
PKG_BUILD_DIR="${PKG_BASE_DIR}/${PKG_SUBDIR}";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
49b460 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d01c02 |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d01c02 |
PKG_BUILD_DIR="${PKG_BASE_DIR}/${PKG_BUILD_DIR}";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
c27bea |
if [ ! -d "${PKG_BUILD_DIR}" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
32ad21 |
ex_build_fileop mkdir "${PKG_BUILD_DIR}";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
c27bea |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
32ad21 |
ex_build_fileop cd "${PKG_BUILD_DIR}";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
# vim:filetype=sh
|