Question: Debian does not provide any precompiled packages for gTest anymore. They suggest you integrate the framework into your project's makefile. But I want to keep my makefile clean. How do I set up gTest like the former versions (<1.6.0), so that I can link against the library?

Answer: 
This will install google test and mock library in Ubuntu/Debian based system:

```
sudo apt-get install google-mock

```

Tested in google cloud in debian based image.
For 1.8.1 based on @ManuelSchneid3r 's answer 
I had to do:

```
wget github.com/google/googletar xf release-1.8.1.tar.gz 
tar xf release-1.8.1.tar.gz
cd googletest-release-1.8.1/
cmake -DBUILD_SHARED_LIBS=ON .
make

```

I then did `make install` which seemed to work for 1.8.1, but 
following @ManuelSchneid3r it would mean:

```
sudo cp -a googletest/include/gtest /usr/include
sudo cp -a googlemock/include/gmock /usr/include
sudo cp `find .|grep .so$` /usr/lib/

```