From 2fb0b2a92b034f6ea869eec8ebea8614145759de Mon Sep 17 00:00:00 2001
From: Boud Roukema <boud@cosmo.torun.pl>
Date: Mon, 27 Apr 2020 23:49:33 +0200
Subject: Configration bug fixed: other problematic software names from tarball

Similar to the previous commit (e43e3291483699), following a change made
yesterday in the identification of software names from their tarballs, a
few other problematic names are corrected with this commit: `apr-util',
HDF5, TeX Live's installation tarball and `rpcsvc-proto'.

Even though we have visually checked the list of software, other
unidentified similar cases may remain and will be fixed when found in
practice.
---
 reproduce/software/make/high-level.mk | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

(limited to 'reproduce/software')

diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index 3e87d3b..eccc073 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -214,9 +214,8 @@ $(tarballs): $(tdir)/%: | $(lockdir)
         # Set the top download link of the requested tarball.
 	mergenames=1
 	if   [ $$n = apachelog4cxx ]; then c=$(apachelog4cxx-checksum); w=http://akhlaghi.org/maneage-software
-	elif [ $* = apr-util-$(apr-util-version).tar.gz ]; then
-	  c=$(apr-util-checksum); w=https://www-us.apache.org/dist/apr
 	elif [ $$n = apr         ]; then c=$(apr-checksum); w=https://www-us.apache.org/dist/apr
+	elif [ $$n = apr-util    ]; then c=$(apr-util-checksum); w=https://www-us.apache.org/dist/apr
 	elif [ $$n = astrometry  ]; then c=$(astrometrynet-checksum); w=http://astrometry.net/downloads
 	elif [ $$n = atlas       ]; then
 	  mergenames=0
@@ -259,7 +258,7 @@ $(tarballs): $(tdir)/%: | $(lockdir)
 	  w=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$$v
 	elif [ $$n = gnuastro    ]; then c=$(gnuastro-checksum); w=http://ftp.gnu.org/gnu/gnuastro
 	elif [ $$n = gsl         ]; then c=$(gsl-checksum); w=http://ftp.gnu.org/gnu/gsl
-	elif [ $$n = hdf         ]; then
+	elif [ $$n = hdf5        ]; then
 	  mergenames=0
 	  c=$(hdf5-checksum)
 	  majorver=$$(echo $(hdf5-version) | sed -e 's/\./ /g' | awk '{printf("%d.%d", $$1, $$2)}')
@@ -271,7 +270,7 @@ $(tarballs): $(tdir)/%: | $(lockdir)
 	  mergenames=0
 	  c=$(imfit-checksum)
 	  w=http://www.mpe.mpg.de/~erwin/resources/imfit/imfit-$(imfit-version)-source.tar.gz
-	elif [ $$n = install     ]; then c=NO-CHECK-SUM; w=http://mirror.ctan.org/systems/texlive/tlnet
+	elif [ $$n = install-tl-unx ]; then c=NO-CHECK-SUM; w=http://mirror.ctan.org/systems/texlive/tlnet
 	elif [ $$n = jpegsrc     ]; then c=$(libjpeg-checksum); w=http://ijg.org/files
 	elif [ $$n = lapack      ]; then c=$(lapack-checksum); w=http://www.netlib.org/lapack
 	elif [ $$n = libnsl      ]; then c=$(libnsl-checksum); w=http://akhlaghi.org/maneage-software
@@ -298,7 +297,7 @@ $(tarballs): $(tdir)/%: | $(lockdir)
 	elif [ $$n = R           ]; then c=$(R-checksum);
 	  majver=$$(echo $(R-version) | sed -e's/\./ /g' | awk '{print $$1}')
 	  w=https://cran.r-project.org/src/base/R-$$majver
-	elif [ $$n = rpcsvc      ]; then c=$(rpcsvc-proto-checksum); w=https://github.com/thkukuk/rpcsvc-proto/releases/download/v$(rpcsvc-proto-version)
+	elif [ $$n = rpcsvc-proto ]; then c=$(rpcsvc-proto-checksum); w=https://github.com/thkukuk/rpcsvc-proto/releases/download/v$(rpcsvc-proto-version)
 	elif [ $$n = scamp       ]; then c=$(scamp-checksum); w=http://akhlaghi.org/maneage-software
 	elif [ $$n = scons       ]; then
 	  mergenames=0
-- 
cgit v1.2.1