Could you explain what you mean by this? This is the first formula that I am trying to add to homebrew. Checking the Pgrouting docs, it looks like you need to do the following commands:

mkdir build
cd build
cmake -DWITH_DD=ON ..
make
sudo make install

I am assuming this is homebrew specific.