Here is an example of using BinDeps to download and build C libraries when building your Julia package.
https://github.com/jlapeyre/PrimeSieve.jl This file includes a lot of comments: https://github.com/jlapeyre/PrimeSieve.jl/blob/master/deps/build.jl I am posting this here because it may be useful for people trying to use BinDeps, since it seems there was a lack of examples, at least examples that could be located easily. I meant to post this a few months ago, but didn't get around to it. --John
