|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
# . ./build.vars and set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
# See warning at the top of build.vars.
|
|
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) |
570129 |
if [ -e ${PKG_SUBDIR}/configure -o \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
-e ${PKG_SUBDIR}/configure.ac -o \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
-e ${PKG_SUBDIR}/configure.in -o \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
-e ${PKG_SUBDIR}/config.guess ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
find ${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) |
570129 |
-exec echo install -m 0700 ${MIDIPIX_BUILD_PWD}/etc/config.sub {} \; \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
-exec install -m 0700 ${MIDIPIX_BUILD_PWD}/etc/config.sub {} \;;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
if [ -e ${PKG_SUBDIR}/configure.ac -a \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
! -e ${PKG_SUBDIR}/configure ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
if [ -e ${PKG_SUBDIR}/autogen.sh ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
for __ in ${PKG_SUBDIR}/build-aux ${PKG_SUBDIR}; do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
if [ -e ${__} ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
echo install -m 0700 \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${MIDIPIX_BUILD_PWD}/etc/config.sub \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${__}/config.sub;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
install -m 0700 \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${MIDIPIX_BUILD_PWD}/etc/config.sub \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${__}/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) |
bd97b6 |
(build_fileop cd ${PKG_SUBDIR} && ${SHELL} ./autogen.sh) || exit 1;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
bd97b6 |
(build_fileop cd ${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) |
570129 |
for __ in ${PKG_BUILD_DIR} ${PKG_CONFIG_CACHE_EXTRA}; do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
bd97b6 |
build_fileop cp ${MIDIPIX_BUILD_PWD}/etc/config.cache ${__}/;
|
|
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 |
set_build_script_done autoconf -patch;
|
|
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
|