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> 2024-01-10 22:47:30 +0300 committer: kx <kx@radix.pro> 2024-01-10 22:47:30 +0300 commit: eeffb0c8292aba8bc5bdab395340e9b9343ab69a parent: e5e57eb92111b616b48410e71b091eeb8df79c88
Commit Summary:
perl-modules: Alien::Base::Wrapper, Alien::Libxml2
Diffstat:
3 files changed, 71 insertions, 1 deletion
diff --git a/packages/d/perl-modules/CPAN/Alien-Build/Makefile b/packages/d/perl-modules/CPAN/Alien-Build/Makefile
new file mode 100644
index 0000000..b50b936
--- /dev/null
+++ b/packages/d/perl-modules/CPAN/Alien-Build/Makefile
@@ -0,0 +1,43 @@
+#
+# Project Home:
+# ============
+#  http://www.cpan.org/modules/index.html
+#
+# Install instruction:
+# ===================
+#  http://www.cpan.org/modules/INSTALL.html
+#
+# Search CPAN:
+# ===========
+#  https://metacpan.org
+#  http://search.cpan.org
+#
+
+url         = https://ftp.radix.pro/3pp/perl-modules/CPAN/Alien-Build
+
+versions    = 2.80
+pkgname     = Alien-Build
+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)
diff --git a/packages/d/perl-modules/CPAN/Alien-Libxml2/Makefile b/packages/d/perl-modules/CPAN/Alien-Libxml2/Makefile
new file mode 100644
index 0000000..0dd4ada
--- /dev/null
+++ b/packages/d/perl-modules/CPAN/Alien-Libxml2/Makefile
@@ -0,0 +1,43 @@
+#
+# Project Home:
+# ============
+#  http://www.cpan.org/modules/index.html
+#
+# Install instruction:
+# ===================
+#  http://www.cpan.org/modules/INSTALL.html
+#
+# Search CPAN:
+# ===========
+#  https://metacpan.org
+#  http://search.cpan.org
+#
+
+url         = https://ftp.radix.pro/3pp/perl-modules/CPAN/Alien-Libxml2
+
+versions    = 0.19
+pkgname     = Alien-Libxml2
+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)
diff --git a/packages/d/perl-modules/CPAN/Makefile b/packages/d/perl-modules/CPAN/Makefile
index 4881705..ae5126f 100644
--- a/packages/d/perl-modules/CPAN/Makefile
+++ b/packages/d/perl-modules/CPAN/Makefile
@@ -4,7 +4,9 @@
 # $ tree -fid .
 #
 
-SUBDIRS := B-C                   \
+SUBDIRS := Alien-Build           \
+           Alien-Libxml2         \
+           B-C                   \
            Clone                 \
            DBD-Pg                \
            DBD-mysql             \