summaryrefslogtreecommitdiff
path: root/GNOME/core/totem-pl-parser
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-04-06 19:18:36 +0300
committerkx <kx@radix.pro>2023-04-06 19:18:36 +0300
commit9344bb002ddcfcea1e0587df1af22ee91f6c1e88 (patch)
tree864a5e01761e99450f8f08939d474e8cbc026c5c /GNOME/core/totem-pl-parser
parentc9b87548f19c4323592abff0a86bc1dac45658f0 (diff)
downloadsources-9344bb002ddcfcea1e0587df1af22ee91f6c1e88.tar.xz
GNOME sources
Diffstat (limited to 'GNOME/core/totem-pl-parser')
-rw-r--r--GNOME/core/totem-pl-parser/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/GNOME/core/totem-pl-parser/Makefile b/GNOME/core/totem-pl-parser/Makefile
new file mode 100644
index 0000000..85fd3cb
--- /dev/null
+++ b/GNOME/core/totem-pl-parser/Makefile
@@ -0,0 +1,50 @@
+#
+# Project Home:
+# ============
+# https://www.gnome.org
+#
+# Repository browse: https://git.gnome.org/browse/totem-pl-parser
+#
+# Downloads:
+# =========
+# ftp://ftp.gnome.org/pub/GNOME/sources
+# https://download.gnome.org/sources
+#
+
+
+url = https://download.gnome.org/sources
+
+versions = 3.10.3 3.26.6
+
+pkg_name = totem-pl-parser
+arch_type = tar.xz
+suffixes = $(arch_type)
+
+files = $(foreach suffix, $(suffixes), $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions))))
+
+tarballs = $(addsuffix .$(arch_type), $(addprefix $(pkg_name)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(files) $(sha1s)
+
+
+.PHONY: downloads_clean
+
+$(files):
+ @echo -e "\n======= Downloading '$(pkg_name)' sourses =======\n"
+ @for version in $(versions) ; do \
+ major_minor=`echo $$version | sed 's/\([0-9][.0-9][0-9]*\)\([\.].*\)/\1/'` ; \
+ for suffix in $(suffixes) ; do \
+ wget -N $(url)/$(pkg_name)/$$major_minor/$(pkg_name)-$$version.$$suffix ; \
+ done ; \
+ done
+
+$(sha1s): %.$(arch_type).sha1sum : %.$(arch_type)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+downloads_clean:
+ @rm -f $(files) $(sha1s)