From 76df33bd68d0940dedcdb6bc990792120fc9a375 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 16 Aug 2017 15:47:23 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6eb69dd..50be735 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,16 @@ 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 (OpenSSL_1_0_1-stable) and the php-cpp headers. +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` +``` +sudo apt-get install libopus-dev binutils-dev libssl-dev +git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP +cd PHP-CPP +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`