The first step is to clone the Litecoin in the root or any other directory:
git clone https://github.com/litecoin-project/litecoin
cd Litecoin
Installation of BerkleyDb is performed with the following command:
./contrib/install_db4.sh .
Building of Litecoin-core uses the following make command:
./autogen.sh
./configure
make

You can run unit tests to make sure the build is successful without any errors:
make check
Deployment of the .dmg which contains the .app bundles, is shown here:

make deploy
