Sources

The Tree of Radix and Third Party Sources

1388 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2017-09-11 00:25:43 +0300 committer: kx <kx@radix.pro> 2017-09-11 00:25:43 +0300 commit: 0c2faed321be7de84966dfe47b7215e3a4ccab80 parent: a0004762432f8ef48eda0d8efc24c1fe7b1984d4
Commit Summary:
directories for KDE sources
Diffstat:
1 file changed, 29 insertions, 0 deletions
diff --git a/KDE/qtwebkit/Makefile b/KDE/qtwebkit/Makefile
new file mode 100644
index 0000000..bb0f5ff
--- /dev/null
+++ b/KDE/qtwebkit/Makefile
@@ -0,0 +1,38 @@
+#
+# Project Home:
+# ============
+# https://download.kde.org/stable/qtwebkit-2.3/2.3.4/src/
+#
+# Downloads:
+# =========
+# https://download.kde.org/stable/qtwebkit-2.3/2.3.4/src/qtwebkit-2.3.4.tar.gz
+#
+
+url         = https://download.kde.org/stable/qtwebkit-2.3/2.3.4/src
+
+versions    = 2.3.4
+pkgname     = qtwebkit
+suffix      = tar.gz
+
+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)