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> 2023-06-14 12:50:32 +0300 committer: kx <kx@radix.pro> 2023-06-14 12:50:32 +0300 commit: d93827261c11db01ffc443b8043b5ce786ffc4ef parent: ab277f508d89a9b0bfdefc02924d88e3627437a2
Commit Summary:
qemu-8.0.2
Diffstat:
1 file changed, 30 insertions, 0 deletions
diff --git a/packages/a/qemu/Makefile b/packages/a/qemu/Makefile
new file mode 100644
index 0000000..b056dcb
--- /dev/null
+++ b/packages/a/qemu/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+#   https://www.qemu.org/
+#
+# Downloads:
+# =========
+#   https://www.qemu.org/download/
+#   https://download.qemu.org/
+#
+
+url         = https://download.qemu.org
+
+versions    = 8.0.2
+
+pkgname     = qemu
+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 tarball in $(tarballs) ; do \
+	  wget -N $(url)/$$tarball ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)