You can build the droplet using the binary buildpack
ltc build-droplet mosquitto https://github.com/cloudfoundry/binary-buildpack.git
You can easily deploy Mosquitto with the following command.
ltc ld mosquitto-app mosquitto -p 1883 -T 1883:1883 -e BRIDGE_ADDR=iot.eclipse.org
Providing a BRIDGE_ADDR environment variable allows all your broker instances to actually be interconnected, by means of a "master" broker that passes data back and forth between the different instances.