|
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 |
8a4e16 |
elif ! sed '/^prefix=$/s,^prefix=$,prefix='"${PREFIX_NATIVE}"',' "${PREFIX_NATIVE}/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
|