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-04-06 10:37:20 +0300 committer: kx <kx@radix.pro> 2023-04-06 10:37:20 +0300 commit: b8d9de0a8bff1b815a7f84df279cb608fe2e962b parent: cbda8cd8fcffd037f28be2d043a05bef12db485a
Commit Summary:
X.org
Diffstat:
1 file changed, 29 insertions, 0 deletions
diff --git a/X.org/lib/libXv/Makefile b/X.org/lib/libXv/Makefile
new file mode 100644
index 0000000..ce0a2f9
--- /dev/null
+++ b/X.org/lib/libXv/Makefile
@@ -0,0 +1,38 @@
+#
+# Project Home:
+# ============
+# https://www.x.org/wiki
+#
+# Downloads:
+# =========
+# https://www.x.org/releases/individual/lib
+#
+
+url         = https://www.x.org/releases/individual/lib
+
+versions    = 1.0.12
+pkgname     = libXv
+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)