add installation instructions
This commit is contained in:
parent
b6b3c9c608
commit
e3a9e301de
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -4,6 +4,22 @@ calcelestial calculates the sun's rise/set times, the solar noon and the dayligh
|
|||
|
||||
See manpage calcelestial(1) and the [blog entry](https://www.noteblok.net/2012/12/23/cron-jobs-fur-sonnenauf-untergang/) for more information
|
||||
|
||||
# Installation
|
||||
|
||||
### Linux
|
||||
|
||||
```
|
||||
sudo apt-get install -y libnova-dev libcurl4-openssl-dev libjson-c-dev libdb-dev
|
||||
autoreconf -i && ./configure && make install
|
||||
````
|
||||
### macOS
|
||||
|
||||
```
|
||||
brew install curl json-c berkeley-db
|
||||
git clone git://git.code.sf.net/p/libnova/libnova libnova && pushd libnova && autoreconf -if && ./configure && make && sudo make install; popd
|
||||
autoreconf -i && ./configure && make install
|
||||
```
|
||||
|
||||
# License
|
||||
|
||||
calcelestial is licensed under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html).
|
||||
|
|
Loading…
Add table
Reference in a new issue