mirror of
				https://github.com/asdlokj1qpi233/subconverter.git
				synced 2025-10-31 05:42:31 +00:00 
			
		
		
		
	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
		
			
				
	
	
		
			18 lines
		
	
	
		
			442 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			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 ..
 |