summaryrefslogtreecommitdiff
path: root/GNOME
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-06-13 01:53:02 +0300
committerkx <kx@radix.pro>2023-06-13 01:53:02 +0300
commit3004b6c66b81e8011b434d108e03d826558fc6f4 (patch)
tree6bb1c4aa643b22261cce3f009b2d7df0bdb2f2a0 /GNOME
parentf0b1ac36d296858ff15bcb685572a7245810aa16 (diff)
downloadsources-3004b6c66b81e8011b434d108e03d826558fc6f4.tar.xz
libhandy-1.8.2
Diffstat (limited to 'GNOME')
-rw-r--r--GNOME/core/Makefile1
-rw-r--r--GNOME/core/libhandy/Makefile50
2 files changed, 51 insertions, 0 deletions
diff --git a/GNOME/core/Makefile b/GNOME/core/Makefile
index 72717c5..16cad9b 100644
--- a/GNOME/core/Makefile
+++ b/GNOME/core/Makefile
@@ -96,6 +96,7 @@ SUBDIRS := GConf \
libgudev \
libgweather \
libgxps \
+ libhandy \
libmanette \
libmediaart \
libnma \
diff --git a/GNOME/core/libhandy/Makefile b/GNOME/core/libhandy/Makefile
new file mode 100644
index 0000000..c602342
--- /dev/null
+++ b/GNOME/core/libhandy/Makefile
@@ -0,0 +1,50 @@
+#
+# Project Home:
+# ============
+# https://www.gnome.org
+#
+# Repository browse: https://git.gnome.org/browse/libhandy
+#
+# Downloads:
+# =========
+# ftp://ftp.gnome.org/pub/GNOME/sources
+# https://download.gnome.org/sources
+#
+
+
+url = https://download.gnome.org/sources
+
+versions = 1.8.2
+
+pkg_name = libhandy
+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)