summaryrefslogtreecommitdiffhomepage
path: root/vars/libxslt.vars
blob: 853f22d576ed5f3e2a7049ba426e264dff24d572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# set +o errexit -o noglob -o nounset is assumed.
#

: ${PKG_LIBXSLT_CONFIG_CACHE_EXTRA:="
ac_cv_path_ac_pt_XML_CONFIG=no
ac_cv_path_XML_CONFIG=no"};

pkg_libxslt_install_make_post() {
	if ! rtl_fileop mkdir "${PKG_DESTDIR_HOST}/bin"; then
		return 1;
	elif ! sed '/^prefix=$/s,^prefix=$,prefix='"${PREFIX_NATIVE}"',' "${PKG_DESTDIR}/bin/xslt-config" > "${PKG_DESTDIR_HOST}/bin/xslt-config"; then
		return 1;
	else
		rtl_fileop chmod +x "${PKG_DESTDIR_HOST}/bin/xslt-config";
	fi;
};

# vim:filetype=sh textwidth=0