It's been quite a while I worked on Asterisk compilation. Yes, I was considering building such a script but SAIL and the kernels kept changing every so often, it didn't seem worth the effort except for building an OpenVZ template for a static version.
I haven't got my folder in the SME contrib repo as yet.