This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
2016-02-20 11:07:20 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Will download lua-tg and will download and build tg's "test" branch.
|
|
|
|
# Written for Ubuntu/Debian. If you're running Arch (the only acceptable
|
|
|
|
# alternative), figure it out yourself.
|
|
|
|
|
2016-02-20 11:48:24 +01:00
|
|
|
echo 'Requesting root privileges to install necessary packages:'
|
|
|
|
echo 'libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make'
|
2016-02-20 11:07:20 +01:00
|
|
|
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make
|
2016-05-22 22:08:45 +02:00
|
|
|
echo 'Compiling tg, test branch.'
|
2016-02-20 11:07:20 +01:00
|
|
|
git clone http://github.com/vysheng/tg --recursive -b test
|
|
|
|
cd tg
|
|
|
|
./configure
|
|
|
|
make
|
2016-05-22 22:08:45 +02:00
|
|
|
echo 'All done! Use ./tg-launch.sh to launch tg. Be sure to log in with your Telegram account.'
|