|
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) |
570129 |
pkg_autoconf() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
802215 |
local __;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
if [ -e "${WORKDIR}/${PKG_SUBDIR}/configure" -o \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
-e "${WORKDIR}/${PKG_SUBDIR}/configure.ac" -o \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
-e "${WORKDIR}/${PKG_SUBDIR}/configure.in" -o \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
-e "${WORKDIR}/${PKG_SUBDIR}/config.guess" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
find "${WORKDIR}/${PKG_SUBDIR}" -name config.sub \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
-exec echo mv -- {} {}.orig \; \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
-exec mv -- {} {}.orig \; \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8ee843 |
-exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \; \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8ee843 |
-exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
if [ -e "${WORKDIR}/${PKG_SUBDIR}/configure.ac" ]\
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
&& [ ! -e "${WORKDIR}/${PKG_SUBDIR}/configure" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
for __ in bootstrap autogen.sh ""; do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
if [ -z "${__}" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
(build_fileop cd "${WORKDIR}/${PKG_SUBDIR}" && autoconf)\
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
|| exit 1 && break;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
elif [ -e "${WORKDIR}/${PKG_SUBDIR}/${__}" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
for ___ in "${WORKDIR}/${PKG_SUBDIR}/build-aux" "${WORKDIR}/${PKG_SUBDIR}"; do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
if [ -e "${___}" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
echo install -m 0700 \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
"${MIDIPIX_BUILD_PWD}/etc/config.sub" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
"${___}/config.sub";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
install -m 0700 \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
"${MIDIPIX_BUILD_PWD}/etc/config.sub" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
"${___}/config.sub";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
break;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
done;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
(build_fileop cd "${WORKDIR}/${PKG_SUBDIR}" && "${SHELL}" "${__}")\
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
|| exit 1 && break;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b19456 |
done;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
for __ in ${PKG_BUILD_DIR} ${PKG_CONFIG_CACHE_EXTRA}; do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
build_fileop cp "${MIDIPIX_BUILD_PWD}/etc/config.cache" "${WORKDIR}/${__}/";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
done;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
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
|