summaryrefslogtreecommitdiff
path: root/GNU/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'GNU/gcc')
-rw-r--r--GNU/gcc/Makefile3
-rw-r--r--GNU/gcc/gcc-13.2.0/Makefile37
2 files changed, 39 insertions, 1 deletions
diff --git a/GNU/gcc/Makefile b/GNU/gcc/Makefile
index 0b52154..370dce4 100644
--- a/GNU/gcc/Makefile
+++ b/GNU/gcc/Makefile
@@ -37,7 +37,8 @@ SUBDIRS := gcc-2.95.3 \
gcc-11.1.0 \
gcc-11.2.0 \
gcc-11.3.0 \
- gcc-12.2.0
+ gcc-12.2.0 \
+ gcc-13.2.0
all-recursive downloads_clean-recursive:
diff --git a/GNU/gcc/gcc-13.2.0/Makefile b/GNU/gcc/gcc-13.2.0/Makefile
new file mode 100644
index 0000000..2ea8fb1
--- /dev/null
+++ b/GNU/gcc/gcc-13.2.0/Makefile
@@ -0,0 +1,37 @@
+#
+# https://gcc.gnu.org
+#
+# You can use the generic url https://ftpmirror.gnu.org
+# to automatically choose a nearby and up-to-date mirror.
+#
+# original url: https://ftp.gnu.org/gnu/gcc/gcc-$(version)
+#
+
+url = https://ftp.gnu.org/gnu/gcc
+
+versions = 13.2.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)