Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
#
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
#
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
pkg_apr_install_post() {
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
	sed	-e 's,echo "\$APR_BUILD_DIR/libtool",echo '"${PREFIX}"'/bin/slibtool,'					\
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
		-e 's,echo "\${installbuilddir}/libtool",echo '"${PREFIX}"'/bin/slibtool,'				\
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
		-e 's,flags="\$flags -I\$includedir \$EXTRA_INCLUDES",flags="-I'"${PKG_PREFIX}"'/include/apr-1",'	\
Lucio Andrés Illanes Albornoz (arab, vxp) 05e618
			"${PKG_PREFIX}/bin/apr-1-config" > "${PREFIX}/bin/${PKG_TARGET}-apr-1-config";
Lucio Andrés Illanes Albornoz (arab, vxp) 05e618
	chmod +x "${PREFIX}/bin/${PKG_TARGET}-apr-1-config";
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
};
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
# vim:filetype=sh