From 4ead259ad7e9a37e6f5da79654dc64d70fea48ab Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 16 Aug 2017 15:49:31 +0200 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 50be735..5c05cd6 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ This is a PHP extension that wraps the [telegram VoIP library](https://github.co Installation: Install the libopus headers (libopus-dev), binutils (binutils-dev), openssl headers and the php-cpp headers. +Then clone this repository recursively and run `make && sudo make install` + +On Ubuntu/debian/any debian-based distro: + ``` sudo apt-get install libopus-dev binutils-dev libssl-dev @@ -14,8 +18,13 @@ git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP cd PHP-CPP make -j$(nproc) sudo make install +cd .. +git clone --recursive https://github.com/danog/php-libtgvoip +cd php-libtgvoip +make -j$(nproc) +sudo make install ``` -Then clone this repository recursively (`git clone --recursive https://github.com/danog/php-libtgvoip`) and run `make && sudo make install` +