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

pkg_libxslt_install_make_post() {
	if ! rtl_fileop mkdir "${PKG_DESTDIR_HOST}/bin"; then
		return 1;
	elif ! sed '/^prefix=$/s,^prefix=$,prefix='"${PREFIX_NATIVE}"',' "${PREFIX_NATIVE}/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