Create tcsh.csh
Browse files
tcsh.csh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pkg upgrade
|
2 |
+
pkg install git gperf cmake
|
3 |
+
git clone --recursive https://github.com/tdlib/telegram-bot-api.git
|
4 |
+
cd telegram-bot-api
|
5 |
+
rm -rf build
|
6 |
+
mkdir build
|
7 |
+
cd build
|
8 |
+
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=.. ..
|
9 |
+
cmake --build . --target install
|
10 |
+
cd ../..
|
11 |
+
ls -l telegram-bot-api/bin/telegram-bot-api*
|