Build a jll library locally with BinaryBuilder

Is there a way to build a jll package from a c++ library locally on a computer using BinaryBuilder.jl?
If yes, is there an example of how it can be done on windows? For example for do you build libCurl locally on a computer with BinaryBuilder?
Thank you