From e3a9e301de4e55488bbd5f53f5dac746914143f9 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 28 Oct 2016 00:32:15 -0400 Subject: [PATCH] add installation instructions --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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).