|
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) |
d5afb4 |
if [ -e "${WORKDIR}/${PKG_SUBDIR}/autogen.sh" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
for __ in "${WORKDIR}/${PKG_SUBDIR}/build-aux" "${WORKDIR}/${PKG_SUBDIR}"; do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8ee843 |
if [ -e "${__}" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
echo install -m 0700 \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8ee843 |
"${MIDIPIX_BUILD_PWD}/etc/config.sub" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8ee843 |
"${__}/config.sub";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
install -m 0700 \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8ee843 |
"${MIDIPIX_BUILD_PWD}/etc/config.sub" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8ee843 |
"${__}/config.sub";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
break;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
done;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
(build_fileop cd "${WORKDIR}/${PKG_SUBDIR}" && "${SHELL}" ./autogen.sh) || exit 1;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d5afb4 |
(build_fileop cd "${WORKDIR}/${PKG_SUBDIR}" && autoconf) || exit 1;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
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
|