From 01df9c86669b68d0d9c874664039189e2dae4534 Mon Sep 17 00:00:00 2001
From: Raul Infante-Sainz <infantesainz@gmail.com>
Date: Fri, 24 May 2019 16:55:00 +0100
Subject: Added LibYAML library into the project

With this commit, LibYAML library has been added. This library is a
prerequisite of the Python package PyYAML, which is widely used in the
Python community  when configuration scripts are needed.
---
 reproduce/software/config/installation/versions.mk | 1 +
 reproduce/software/make/high-level.mk              | 5 +++++
 2 files changed, 6 insertions(+)

(limited to 'reproduce/software')

diff --git a/reproduce/software/config/installation/versions.mk b/reproduce/software/config/installation/versions.mk
index 510e50d..9f74b27 100644
--- a/reproduce/software/config/installation/versions.mk
+++ b/reproduce/software/config/installation/versions.mk
@@ -96,6 +96,7 @@ scamp-version = 2.6.7
 sextractor-version = 2.25.0
 swarp-version = 2.38.0
 swig-version = 3.0.12
+yaml-version = 0.2.2
 
 
 
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index cdaae5e..fe6efd0 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -135,6 +135,7 @@ tarballs = $(foreach t, astrometry.net-$(astrometrynet-version).tar.gz \
                         swig-$(swig-version).tar.gz \
                         tiff-$(libtiff-version).tar.gz \
                         wcslib-$(wcslib-version).tar.bz2 \
+                        yaml-$(yaml-version).tar.gz \
                       , $(tdir)/$(t) )
 $(tarballs): $(tdir)/%: | $(lockdir)
 	if [ -f $(DEPENDENCIES-DIR)/$* ]; then
@@ -203,6 +204,7 @@ $(tarballs): $(tdir)/%: | $(lockdir)
 	  elif [ $$n = swig        ]; then w=https://sourceforge.net/projects/swig/files/swig/swig-$(swig-version)
 	  elif [ $$n = tiff        ]; then w=https://download.osgeo.org/libtiff
 	  elif [ $$n = wcslib      ]; then w=ftp://ftp.atnf.csiro.au/pub/software/wcslib
+	  elif [ $$n = yaml        ]; then w=pyyaml.org/download/libyaml
 	  else
 	    echo; echo; echo;
 	    echo "'$$n' not recognized as a dependency name to download."
@@ -430,6 +432,9 @@ $(ibidir)/openblas: $(tdir)/openblas-$(openblas-version).tar.gz
 	&& rm -rf OpenBLAS-$(openblas-version) \
 	&& echo "OpenBLAS $(openblas-version)" > $@
 
+$(ibidir)/yaml: $(tdir)/yaml-$(yaml-version).tar.gz
+	$(call gbuild, $<, yaml-$(yaml-version), static) \
+	&& echo "LibYAML $(yaml-version)" > $@
 
 
 
-- 
cgit v1.2.1