contrib: Add build script used on the jenkins to build it

This tests compilation, runs the tests, regenerates the ASN1 code,
compiles it and tests it as well. The make distcheck target is not
working right now.
1 file changed