Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2024-02-22 20:33:47 +0300 committer: kx <kx@radix.pro> 2024-02-22 20:33:47 +0300 commit: 9b8289b9d0deaad9683584882bf069acbc857950 parent: 90bc2012c0068829701c88bc1e97a744e970ad02
Commit Summary:
gcc-13.2.0, binutils-2.42, glibc-2.39
Diffstat:
2 files changed, 30 insertions, 1 deletion
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)