diff --git a/README.md b/README.md index 11c6a66..40ee9ef 100644 --- a/README.md +++ b/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).