Add notes to build.sh

This commit is contained in:
Austen Adler 2018-07-05 14:45:50 -04:00
parent abdac11ac9
commit 9594a9f9d9

View File

@ -1,17 +1,20 @@
#!/data/data/com.termux/files/usr/bin/bash
set -x
apt -y install make clang openssl-dev perl tsu wget git python python-dev gnupg2 dirmngr curl autoconf automake sed gettext gzip pkg-config
set -e
apt -y install make clang openssl-dev perl tsu wget git python python-dev gnupg2 dirmngr curl autoconf automake sed gettext gzip pkg-config libcrypt-dev
# To make other files
apt -y install gettext-dev
pip install virtualenv
virtualenv --python=python3 borg-env
source borg-env/bin/activate
git clone https://github.com/borgbackup/borg.git
test -d borg || git clone https://github.com/borgbackup/borg.git
cd borg
git branch 1.1-maint remotes/origin/1.1-maint
git checkout 1.1-maint
git checkout 1.1.6
pip install Cython
pip install -r requirements.d/development.txt
#find if sync_file_range is available