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-05-25 14:07:01 +0300 committer: kx <kx@radix.pro> 2023-05-25 14:07:01 +0300 commit: e0d5c2c4092e4cb8cb5a7435d2bd483be5897c2b parent: d26f020ca0d2c95f5b78035eaeaa1cca1fc58d7c
Commit Summary:
hyphen; libmanette
Diffstat:
2 files changed, 38 insertions, 0 deletions
diff --git a/GNOME/core/Makefile b/GNOME/core/Makefile
index 251664a..72717c5 100644
--- a/GNOME/core/Makefile
+++ b/GNOME/core/Makefile
@@ -96,6 +96,7 @@ SUBDIRS := GConf                          \
            libgudev                       \
            libgweather                    \
            libgxps                        \
+           libmanette                     \
            libmediaart                    \
            libnma                         \
            libnotify                      \
diff --git a/GNOME/core/libmanette/Makefile b/GNOME/core/libmanette/Makefile
new file mode 100644
index 0000000..44d22db
--- /dev/null
+++ b/GNOME/core/libmanette/Makefile
@@ -0,0 +1,50 @@
+#
+# Project Home:
+# ============
+# https://www.gnome.org
+#
+# Repository browse: https://git.gnome.org/browse/libgtop
+#
+# Downloads:
+# =========
+# ftp://ftp.gnome.org/pub/GNOME/sources
+# https://download.gnome.org/sources
+#
+
+
+url       = https://download.gnome.org/sources
+
+versions  = 0.2.6
+
+pkg_name  = libmanette
+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)