1: Begin by downloading and verifying the GnuPG archives from
<http://www.gnupg.org/>. Here's what to type: curl -O ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.11.tar.gz curl -O ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.11.tar.gz.sig
2: To verify:
gpg --verify gnupg-1.4.11.tar.gz.sig or, if you don't have an older copy of GnuPG or another OpenPGP program (NEVER verify the version of GnuPG you download with itself), use the SHA-1 checksums found on the GnuPG Web site and compare with the checksum from: openssl sha1 gnupg-1.4.11.tar.gz
3: Next, untar GnuPG:
tar -xzf gnupg-1.4.11.tar.gz And move into the GnuPG directory: cd gnupg-1.4.11
4: Now you need to set up GnuPG to build on your system. You do this by
running configure: ./configure
5: Once you have everything configured, it's time to compile GnuPG by running:
make
6: If all tests pass, the only thing left to do is type:
sudo make install
Reference: http://macgpg.sourceforge.net/docs/howto-build-gpg-osx.txt.asc