subconverter/scripts/config.termux.sh
Tindy X b89a8b1f7c
Add CMake support
Clean up file structure.
Update build scripts.
2019-12-26 20:37:47 +08:00

18 lines
370 B
Bash

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