Convert Gordon's source to automake/autoconf. Included buildroot recipe.