Files
subconverter/scripts/config.termux.sh
Tindy X c05b7913af Fix codes for compiling with mbedTLS
Clean up codes. (+6 squashed commit)

Squashed commit:

[4126d9e] Update build scripts

[2ee5027] Update CMake module

[71da951] Update build scripts

[dea8d3f] Update CMake script

[92113ba] Clean up codes and update build script
2020-02-03 18:10:52 +08:00

18 lines
442 B
Bash

#!/bin/bash
set -xe
apt update
apt install -y git cmake clang pkg-config
apt install -y libevent libcurl openssl pcre2
git clone https://github.com/jbeder/yaml-cpp
cd yaml-cpp
cmake -DCMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF .
make install -j3
cd ..
git clone https://github.com/tencent/rapidjson
cd rapidjson
cp -r include/* /data/data/com.termux/files/usr/include/
cd ..