midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/libxslt.vars

Lucio Andrés Illanes Albornoz dd9b89
#
Lucio Andrés Illanes Albornoz dd9b89
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz dd9b89
#
Lucio Andrés Illanes Albornoz dd9b89
Lucio Andrés Illanes Albornoz dd9b89
pkg_libxslt_install_make_post() {
Lucio Andrés Illanes Albornoz 8a4e16
	if ! rtl_fileop mkdir "${PKG_DESTDIR_HOST}/bin"; then
Lucio Andrés Illanes Albornoz dd9b89
		return 1;
Lucio Andrés Illanes Albornoz 2a66c9
	elif ! sed '/^prefix=$/s,^prefix=$,prefix='"${PREFIX_NATIVE}"',' "${PKG_DESTDIR}/bin/xslt-config" > "${PKG_DESTDIR_HOST}/bin/xslt-config"; then
Lucio Andrés Illanes Albornoz dd9b89
		return 1;
Lucio Andrés Illanes Albornoz dd9b89
	else
Lucio Andrés Illanes Albornoz 8a4e16
		rtl_fileop chmod +x "${PKG_DESTDIR_HOST}/bin/xslt-config";
Lucio Andrés Illanes Albornoz dd9b89
	fi;
Lucio Andrés Illanes Albornoz dd9b89
};
Lucio Andrés Illanes Albornoz dd9b89
Lucio Andrés Illanes Albornoz dd9b89
# vim:filetype=sh textwidth=0