midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/texinfo_host.vars

Lucio Andrés Illanes Albornoz 042fe2
#
Lucio Andrés Illanes Albornoz 042fe2
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz 042fe2
#
Lucio Andrés Illanes Albornoz 042fe2
Lucio Andrés Illanes Albornoz 042fe2
pkg_texinfo_host_install_make_post() {
Lucio Andrés Illanes Albornoz 042fe2
	if [ -e "${PKG_DESTDIR}/bin/makeinfo" ]; then
Lucio Andrés Illanes Albornoz 042fe2
		ex_rtl_fileop mv "${PKG_DESTDIR}/bin/makeinfo" "${PKG_DESTDIR}/bin/makeinfo.dist";
Lucio Andrés Illanes Albornoz 042fe2
	fi;
Lucio Andrés Illanes Albornoz 042fe2
	cat > "${PKG_DESTDIR}/bin/makeinfo" <
Lucio Andrés Illanes Albornoz 042fe2
#!/bin/sh
Lucio Andrés Illanes Albornoz 042fe2
export PERL5LIB="${PREFIX}/share/texinfo:${PREFIX}/share/texinfo/lib/libintl-perl/lib:${PREFIX}/share/texinfo/lib/Text-Unidecode/lib:${PREFIX}/share/texinfo/lib/Unicode-EastAsianWidth/lib";
Lucio Andrés Illanes Albornoz 042fe2
makeinfo.dist "\${@}";
Lucio Andrés Illanes Albornoz 042fe2
EOF
Lucio Andrés Illanes Albornoz 042fe2
	chmod +x "${PKG_DESTDIR}/bin/makeinfo";
Lucio Andrés Illanes Albornoz 042fe2
};
Lucio Andrés Illanes Albornoz 042fe2
Lucio Andrés Illanes Albornoz 042fe2
# vim:filetype=sh textwidth=0