Blame vars/autoconf_2_64_host.vars

Lucio Andrés Illanes Albornoz 6961e7
#
Lucio Andrés Illanes Albornoz 6961e7
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz 6961e7
#
Lucio Andrés Illanes Albornoz 6961e7
Lucio Andrés Illanes Albornoz e1a474
: ${PKG_AUTOCONF_2_64_HOST_INSTALL_FILES:="					\
Lucio Andrés Illanes Albornoz e1a474
	/=libexec/autoconf-2.64							\
Lucio Andrés Illanes Albornoz e1a474
	!bin/autoconf=libexec/autoconf-2.64/					\
Lucio Andrés Illanes Albornoz e1a474
	!bin/autoheader=libexec/autoconf-2.64/					\
Lucio Andrés Illanes Albornoz e1a474
	!bin/autom4te=libexec/autoconf-2.64/					\
Lucio Andrés Illanes Albornoz e1a474
	!bin/autoreconf=libexec/autoconf-2.64/					\
Lucio Andrés Illanes Albornoz e1a474
	!bin/autoscan=libexec/autoconf-2.64/					\
Lucio Andrés Illanes Albornoz e1a474
	!bin/autoupdate=libexec/autoconf-2.64/					\
Lucio Andrés Illanes Albornoz e1a474
	!bin/ifnames=libexec/autoconf-2.64/					\
Lucio Andrés Illanes Albornoz e1a474
	!share/autoconf-2.64/autom4te.cfg=share/autoconf/			\
Lucio Andrés Illanes Albornoz e1a474
	-share/autoconf-2.64/							\
Lucio Andrés Illanes Albornoz e1a474
	!share/autoconf=share/autoconf-2.64/					\
Lucio Andrés Illanes Albornoz e1a474
	-share/info/dir								\
Lucio Andrés Illanes Albornoz e1a474
	!share/info/autoconf.info=share/info/autoconf-2.64.info			\
Lucio Andrés Illanes Albornoz e1a474
	!share/info/standards.info=share/info/standards-2.64.info		\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/autoconf.1=share/man/man1/autoconf-2.64.1		\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/autoheader.1=share/man/man1/autoheader-2.64.1		\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/autom4te.1=share/man/man1/autom4te-2.64.1		\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/autoreconf.1=share/man/man1/autoreconf-2.64.1		\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/autoscan.1=share/man/man1/autoscan-2.64.1		\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/autoupdate.1=share/man/man1/autoupdate-2.64.1		\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/config.guess.1=share/man/man1/config.guess-2.64.1	\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/config.sub.1=share/man/man1/config.sub-2.64.1		\
Lucio Andrés Illanes Albornoz e1a474
	!share/man/man1/ifnames.1=share/man/man1/ifnames-2.64.1			\
Lucio Andrés Illanes Albornoz e1a474
"};
Lucio Andrés Illanes Albornoz e1a474
Lucio Andrés Illanes Albornoz e1a474
pkg_autoconf_2_64_host_install_files_post() {
Lucio Andrés Illanes Albornoz 9d255d
	local _bin_fname="" _fname="";
Lucio Andrés Illanes Albornoz 6961e7
Lucio Andrés Illanes Albornoz e1a474
	for _bin_fname in $(find "${PKG_DESTDIR}/libexec/autoconf-${PKG_VERSION}" -type f -perm /0111); do
Lucio Andrés Illanes Albornoz e1a474
		cat >"${PKG_DESTDIR}/bin/${_bin_fname##*/}-${PKG_VERSION}" <
Lucio Andrés Illanes Albornoz 9d255d
#!/bin/sh
Lucio Andrés Illanes Albornoz 99bdce
export ACLOCAL="\${ACLOCAL:-\${0%/*}/aclocal-1.11}";
Lucio Andrés Illanes Albornoz 99bdce
export AC_MACRODIR="\${AC_MACRODIR:-\${0%/*}/../share/autoconf-${PKG_VERSION}}";
Lucio Andrés Illanes Albornoz 99bdce
export AUTOCONF="\${AUTOCONF:-\${0%/*}/../libexec/autoconf-${PKG_VERSION}/autoconf}";
Lucio Andrés Illanes Albornoz 99bdce
export AUTOHEADER="\${AUTOHEADER:-\${0%/*}/../libexec/autoconf-${PKG_VERSION}/autoheader}";
Lucio Andrés Illanes Albornoz 99bdce
export AUTOM4TE="\${AUTOM4TE:-\${0%/*}/../libexec/autoconf-${PKG_VERSION}/autom4te}";
Lucio Andrés Illanes Albornoz 99bdce
export AUTOM4TE_CFG="\${AUTOM4TE_CFG:-\${0%/*}/../share/autoconf-${PKG_VERSION}/autom4te.cfg}";
Lucio Andrés Illanes Albornoz 99bdce
export autom4te_perllibdir="\${autom4te_perllibdir:-\${0%/*}/../share/autoconf-${PKG_VERSION}}";
Lucio Andrés Illanes Albornoz 99bdce
export AUTOMAKE="\${AUTOMAKE:-\${0%/*}/automake-1.11}";
Lucio Andrés Illanes Albornoz 99bdce
export AUTOPOINT="\${AUTOPOINT:-\${0%/*}/../libexec/autoconf-${PKG_VERSION}/autopoint}";
Lucio Andrés Illanes Albornoz 99bdce
export LIBTOOLIZE="\${LIBTOOLIZE:-\${0%/*}/../libexec/autoconf-${PKG_VERSION}/libtoolize}";
Lucio Andrés Illanes Albornoz 9d255d
exec "\${0%/*}/../libexec/autoconf-${PKG_VERSION}/${_bin_fname##*/}" "\${@}";
Lucio Andrés Illanes Albornoz 9d255d
EOF
Lucio Andrés Illanes Albornoz 9d255d
		[ "${?}" -ne 0 ] && return 1;
Lucio Andrés Illanes Albornoz e1a474
		rtl_fileop chmod 0755 "${PKG_DESTDIR}/bin/${_bin_fname##*/}-${PKG_VERSION}" || return 1;
Lucio Andrés Illanes Albornoz 6961e7
	done;
Lucio Andrés Illanes Albornoz 6961e7
};
Lucio Andrés Illanes Albornoz 6961e7
Lucio Andrés Illanes Albornoz 6961e7
# vim:filetype=sh textwidth=0