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-04-23 15:46:01 +0300 committer: kx <kx@radix.pro> 2023-04-23 15:46:01 +0300 commit: 0a3312f7227f908b17c0eb0388b0aadf171ec823 parent: 820e9304f89b0e11c0216677374703c56b179a1f
Commit Summary:
mandoc-1.14.6
Diffstat:
2 files changed, 30 insertions, 0 deletions
diff --git a/packages/a/Makefile b/packages/a/Makefile
index 073b847..5765cfd 100644
--- a/packages/a/Makefile
+++ b/packages/a/Makefile
@@ -97,6 +97,7 @@ SUBDIRS := CLooG                  \
            man-pages              \
            man-pages-posix        \
            man2html               \
+           mandoc                 \
            mc                     \
            mcelog                 \
            mdadm                  \
diff --git a/packages/a/mandoc/Makefile b/packages/a/mandoc/Makefile
new file mode 100644
index 0000000..083325e
--- /dev/null
+++ b/packages/a/mandoc/Makefile
@@ -0,0 +1,38 @@
+#
+# Project Home:
+# ============
+#   https://mandoc.bsd.lv
+#
+# Downloads:
+# =========
+#   https://mandoc.bsd.lv/snapshots
+#
+
+url         = https://mandoc.bsd.lv/snapshots
+
+versions    = 1.14.6
+pkgname     = mandoc
+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)