subconverter/config.termux.sh
Tindy X dc362a9660
Replacing regex library with PCRE
Update build scripts
2019-12-21 02:40:57 +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 ..