Use eauto* functions instead of plain tools in example

Bump to EAPI=5 and reference to autotools.eclass.

Signed-off-by: Justin Lecher <jlec@gentoo.org>