-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from tindy2013/dev
- Loading branch information
Showing
23 changed files
with
417 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
set -e | ||
pkg upgrade | ||
|
||
#first install core utilities | ||
pkg install -y git cmake clang autoconf automake libtool | ||
|
||
#then install precompiled library from repo | ||
pkg install -y openssl-static libcurl-static libpng-static libev-static libz-static freetype-static | ||
|
||
#get rapidjson | ||
git clone https://github.com/tencent/rapidjson | ||
cd rapidjson | ||
cmake -D CMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr . | ||
make install -j2 | ||
cd .. | ||
|
||
#get pngwriter | ||
git clone https://github.com/pngwriter/pngwriter | ||
cd pngwriter | ||
cmake -D CMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr . | ||
make install -j2 | ||
cd .. | ||
|
||
#get yaml-cpp | ||
git clone https://github.com/jbeder/yaml-cpp | ||
cd yaml-cpp | ||
cmake -D CMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr . | ||
make install -j2 | ||
cd .. | ||
|
||
echo all done! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.