author: kx <kx@radix.pro> 2020-12-13 11:08:03 +0300
committer: kx <kx@radix.pro> 2020-12-13 11:08:03 +0300
commit: 00dc243ffd1ebaf4877bdee126b6438e6971f95c
parent: 2859b84b7115b5b407a802eb58cf160b97ce2348
Commit Summary:
Diffstat:
2 files changed, 29 insertions, 0 deletions
diff --git a/GNU/Makefile b/GNU/Makefile
index 69f22fd..8c83bd0 100644
--- a/GNU/Makefile
+++ b/GNU/Makefile
@@ -52,6 +52,7 @@ SUBDIRS := EGLIBC/2.12.1 \
gcc/gcc-7.5.0 \
gcc/gcc-8.2.0 \
gcc/gcc-8.3.0 \
+ gcc/gcc-8.4.0 \
gcc/gcc-9.2.0 \
gcc/gcc-9.3.0 \
gcc/gcc-10.2.0 \
diff --git a/GNU/gcc/gcc-8.4.0/Makefile b/GNU/gcc/gcc-8.4.0/Makefile
new file mode 100644
index 0000000..73db0f3
--- /dev/null
+++ b/GNU/gcc/gcc-8.4.0/Makefile
@@ -0,0 +1,37 @@
+#
+# Download: http://www.gnu.org/prep/ftp.html
+#
+# You can use the generic url http://ftpmirror.gnu.org
+# to automatically choose a nearby and up-to-date mirror.
+#
+# original url: http://ftp.gnu.org/gnu/gcc/gcc-$(version)
+#
+
+url = http://ftpmirror.gnu.org/gcc
+
+versions = 8.4.0
+
+pkgname = gcc
+suffix = tar.xz
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======\n"
+ @for version in $(versions) ; do \
+ wget -N $(url)/gcc-$$version/gcc-$$version.$(suffix) ; \
+ done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation '$$tarball' sha1sum =======\n" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)