Commit 14ef431f authored by Yuanle Song's avatar Yuanle Song

update build instructions in README.org

parent 8d305328
* COMMENT -*- mode: org -*-
#+Date: 2019-09-28
Time-stamp: <2019-09-28>
Time-stamp: <2020-01-14>
* zero-pinyin-service
......@@ -24,12 +24,24 @@ improvements that can be done here.
* how to build zero-pinyin-service
- Get [[https://mesonbuild.com][meson build tool]].
- Get [[https://mesonbuild.com][meson build tool]] and install the ninja backend.
Usually this should do:
#+BEGIN_SRC sh
sudo apt install meson ninja
#+END_SRC
You may prefer installing a newer version of meson via PyPI:
#+BEGIN_SRC sh
sudo apt install python3-pip
python3 -m pip install --user meson ninja
# add ~/.local/bin to PATH
#+END_SRC
- Install zero-pinyin-service dependencies
#+BEGIN_SRC sh
sudo apt install libglib2.0-dev libsqlite3-dev uuid-dev
sudo apt install libglib2.0-dev libsqlite3-dev uuid-dev
#+END_SRC
- Build zero-pinyin-service
......@@ -68,15 +80,6 @@ improvements that can be done here.
./create-deb.sh
#+END_SRC
** how to install meson
Read official doc for how to install it. The key commands are
#+BEGIN_SRC sh
apt install python3-pip
python3 -m pip install --user meson
# add ~/.local/bin to PATH
#+END_SRC
** how to install fpm tool
Read official doc for how to install it. The key commands are
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment