Couchdb-manifest is a project mainly written in ..., it's free.
The manifest for building couchdb with repo.
$ curl http://android.git.kernel.org/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir couchdb
$ cd couchdb
$ repo init -u [email protected]:membase/couchdb-manifest.git
$ repo sync
$ rake