Building GnuPG from the GIT repositories

Note that this is only for developers and there is no guarantee that a version will work.

Building using speedo.mk

Assuming you have all the tools required installed. (On debian you can probably just do an apt-get build-dep gnupg2)

Example with build dir /tmp/gnupg-build and install dir /tmp/gnupg-install change this like you want. And add it to PATH / LD_LIBRARY PATH as needed.

BUILDD=/tmp/gnupg-build
mkdir $BUILDD
cd $BUILDD
git clone git://git.gnupg.org/gnupg
cd gnupg
./autogen.sh
make -f build-aux/speedo.mk gitrep=git://git.gnupg.org SELFCHECK=0 INSTALL_PREFIX=/tmp/gnupg-install  git-native

BuildingFromGIT (last edited 2016-07-20 09:22:06 by AndreHeinecke)