Blame vars/libcaca.vars

Lucio Andrés Illanes Albornoz 5637a6
#
Lucio Andrés Illanes Albornoz 5637a6
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz 5637a6
#
Lucio Andrés Illanes Albornoz 5637a6
Lucio Andrés Illanes Albornoz 5637a6
pkg_libcaca_configure_pre() {
Lucio Andrés Illanes Albornoz 5637a6
	find "${WORKDIR}/${PKG_SUBDIR}" -name config.sub				\
Lucio Andrés Illanes Albornoz 5637a6
		-exec echo mv -- {} {}.orig \;						\
Lucio Andrés Illanes Albornoz 5637a6
		-exec mv -- {} {}.orig \;						\
Lucio Andrés Illanes Albornoz 5637a6
		-exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;	\
Lucio Andrés Illanes Albornoz 5637a6
		-exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
Lucio Andrés Illanes Albornoz 5637a6
};
Lucio Andrés Illanes Albornoz 5637a6
Lucio Andrés Illanes Albornoz 5637a6
pkg_toilet_configure_pre() {
Lucio Andrés Illanes Albornoz 5637a6
	find "${WORKDIR}/${PKG_SUBDIR}" -name config.sub				\
Lucio Andrés Illanes Albornoz 5637a6
		-exec echo mv -- {} {}.orig \;						\
Lucio Andrés Illanes Albornoz 5637a6
		-exec mv -- {} {}.orig \;						\
Lucio Andrés Illanes Albornoz 5637a6
		-exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;	\
Lucio Andrés Illanes Albornoz 5637a6
		-exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
Lucio Andrés Illanes Albornoz 5637a6
};
Lucio Andrés Illanes Albornoz 5637a6
Lucio Andrés Illanes Albornoz 5637a6
# vim:filetype=sh