add installation instructions

This commit is contained in:
Steffen Vogel 2016-10-28 00:32:15 -04:00
parent b6b3c9c608
commit e3a9e301de

View file

@ -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).