From 970537e5713778160011ee890500cf585d66579a Mon Sep 17 00:00:00 2001 From: Patrick Lipka <patrick.lipka@emea.nec.com> Date: Wed, 28 Sep 2022 11:31:30 +0200 Subject: [PATCH] Added support for aec, curl, xml2 and eccodes --- config/aec.json | 10 ++++++++++ config/curl.json | 10 ++++++++++ config/eccodes.json | 10 ++++++++++ config/xml2.json | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 config/aec.json create mode 100644 config/curl.json create mode 100644 config/eccodes.json create mode 100644 config/xml2.json diff --git a/config/aec.json b/config/aec.json new file mode 100644 index 0000000..d2ce90a --- /dev/null +++ b/config/aec.json @@ -0,0 +1,10 @@ +{ + "name" : "aec", + "dependencies" : "", + "default version" : "1.0.6", + "download" : "git clone --depth 1 --branch v$VERSION https://gitlab.dkrz.de/k202009/libaec.git aec-$VERSION", + "configure" : "autoreconf -iv; ./configure --prefix=$PREFIX $SHARED", + "build" : "make -j $BUILDTHREADS", + "install" : "make install", + "object files" : "10" +} diff --git a/config/curl.json b/config/curl.json new file mode 100644 index 0000000..231665b --- /dev/null +++ b/config/curl.json @@ -0,0 +1,10 @@ +{ + "name" : "curl", + "dependencies" : "", + "default version" : "7.85.0", + "download" : "git clone --depth 1 --branch curl-$VERSION_UNDERSCORE https://github.com/curl/curl.git curl-$VERSION", + "configure" : "autoreconf -fi; ./configure --with-openssl --prefix=$PREFIX", + "build" : "make -j $BUILDTHREADS", + "install" : "make install", + "object files" : "362" +} diff --git a/config/eccodes.json b/config/eccodes.json new file mode 100644 index 0000000..ba363b4 --- /dev/null +++ b/config/eccodes.json @@ -0,0 +1,10 @@ +{ + "name" : "eccodes", + "default version" : "2.27.0", + "dependencies" : "zlib,szip,curl,aec,xml2,netcdf-c,netcdf-f,hdf5", + "download" : "wget https://confluence.ecmwf.int/download/attachments/45757960/eccodes-$VERSION-Source.tar.gz ; tar zxf eccodes-$VERSION-Source.tar.gz ; mv eccodes-$VERSION-Source eccodes-$VERSION", + "configure" : "mkdir build; cd build; cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX", + "build" : "cd build; make -j $BUILDTHREADS", + "install" : "cd build; make install", + "object files" : "515" +} diff --git a/config/xml2.json b/config/xml2.json new file mode 100644 index 0000000..f7c2d57 --- /dev/null +++ b/config/xml2.json @@ -0,0 +1,10 @@ +{ + "name" : "xml2", + "dependencies" : "", + "default version" : "2.8.0", + "download" : "git clone --depth 1 --branch v$VERSION https://gitlab.gnome.org/GNOME/libxml2.git xml2-$VERSION", + "configure" : "./autogen.sh ; ./configure --prefix=$PREFIX $SHARED", + "build" : "make -j $BUILDTHREADS", + "install" : "make install", + "object files" : "133" +}