aboutsummaryrefslogtreecommitdiff
path: root/reproduce
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-11-12 14:29:49 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-11-12 14:29:49 +0000
commit7d8d0b0855826308b1dc63c7c6f2ac43e45c4a33 (patch)
tree57dfd0db05104533415da3feab219d96c1a9bd07 /reproduce
parentb7e88b1bf82b936f8fe07c0c2c5f8621c2018f3a (diff)
Added tarball host webp addresses for download
The host web address of most of the necessary packages was blank (filled with `WWWWWWWWWWWWWWWW' as a place holder). They now point to the correct webpages.
Diffstat (limited to 'reproduce')
-rw-r--r--reproduce/src/make/dependencies.mk27
1 files changed, 15 insertions, 12 deletions
diff --git a/reproduce/src/make/dependencies.mk b/reproduce/src/make/dependencies.mk
index 0fb5a34..671d6a5 100644
--- a/reproduce/src/make/dependencies.mk
+++ b/reproduce/src/make/dependencies.mk
@@ -97,20 +97,23 @@ $(tarballs): $(tdir)/%:
| awk '{print $$1}' )
# Set the top download link of the requested tarball.
+ prefix=""
if [ $$n = bash ]; then w=http://ftp.gnu.org/gnu/bash
- elif [ $$n = cfitsio ]; then w=WWWWWWWWWWWWWWWW
- elif [ $$n = coreutils ]; then w=WWWWWWWWWWWWWWWW
- elif [ $$n = gawk ]; then w=WWWWWWWWWWWWWWWW
- elif [ $$n = ghostscript ]; then w=WWWWWWWWWWWWWWWW
+ elif [ $$n = cfitsio ]; then w=https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c
+ elif [ $$n = coreutils ]; then w=http://ftp.gnu.org/gnu/coreutils
+ elif [ $$n = gawk ]; then w=http://ftp.gnu.org/gnu/gawk
+ elif [ $$n = ghostscript ]; then w=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs925
elif [ $$n = gnuastro ]; then w=http://akhlaghi.org
- elif [ $$n = grep ]; then w=WWWWWWWWWWWWWWWW
- elif [ $$n = gsl ]; then w=WWWWWWWWWWWWWWWW
- elif [ $$n = jpegsrc ]; then w=WWWWWWWWWWWWWWWW
- elif [ $$n = libtool ]; then w=WWWWWWWWWWWWWWWW
- elif [ $$n = libgit ]; then w=WWWWWWWWWWWWWWWW
- elif [ $$n = sed ]; then w=WWWWWWWWWWWWWWWW
+ elif [ $$n = grep ]; then w=http://ftp.gnu.org/gnu/grep
+ elif [ $$n = gsl ]; then w=http://ftp.gnu.org/gnu/gsl
+ elif [ $$n = jpegsrc ]; then w=http://ijg.org/files
+ elif [ $$n = libtool ]; then w=ftp://ftp.gnu.org/gnu/libtool
+ elif [ $$n = libgit ]; then
+ w=https://github.com/libgit2/libgit2/archive/v0.27.7.tar.gz
+ prefix=v
+ elif [ $$n = sed ]; then w=http://ftp.gnu.org/gnu/sed
elif [ $$n = make ]; then w=http://akhlaghi.org
- elif [ $$n = wcslib ]; then w=WWWWWWWWWWWWWWWW
+ elif [ $$n = wcslib ]; then w=ftp://ftp.atnf.csiro.au/pub/software/wcslib
else
echo; echo; echo;
echo "'$$n' not recognized as a dependency name to download."
@@ -119,7 +122,7 @@ $(tarballs): $(tdir)/%:
fi
# Download the requested tarball.
- $(DOWNLOADER) $@ $$w/$*
+ $(DOWNLOADER) $@ $$w/$$prefix$*
fi