68d95bdcc5
* updating file-structure * update docker file * update develop docs * update api and cmd
19 lines
516 B
Bash
Executable File
19 lines
516 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Ubuntu 16.04 Install only
|
|
|
|
apt install git cmake make wget -y
|
|
apt-get install -y python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libssh2-1 libgit2-dev python-pip libgit2-24
|
|
apt-get install -y pkg-config libssh2-1-dev libhttp-parser-dev libssl-dev libz-dev
|
|
|
|
LIBGIT_VERSION='0.25.0'
|
|
|
|
wget https://github.com/libgit2/libgit2/archive/v${LIBGIT_VERSION}.tar.gz
|
|
tar xzf v${LIBGIT_VERSION}.tar.gz
|
|
cd libgit2-${LIBGIT_VERSION}/
|
|
cmake .
|
|
make
|
|
make install
|
|
pip install pygit2==${LIBGIT_VERSION}
|
|
ldconfig
|