mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-28 12:22:37 +00:00
18 lines
365 B
Bash
18 lines
365 B
Bash
#!/bin/bash
|
|
set -xe
|
|
|
|
apt update
|
|
apt install git cmake clang
|
|
apt install libevent libcurl openssl
|
|
|
|
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 ..
|