Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

423 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-04-06 10:37:52 +0300 committer: kx <kx@radix.pro> 2023-04-06 10:37:52 +0300 commit: f7e1268e0895b2d6ec7467de603a5ef8a45cf556 parent: b8d9de0a8bff1b815a7f84df279cb608fe2e962b
Commit Summary:
Dictionaries
Diffstat:
1 file changed, 31 insertions, 0 deletions
diff --git a/dict/scowl/Makefile b/dict/scowl/Makefile
new file mode 100644
index 0000000..ca1f8b5
--- /dev/null
+++ b/dict/scowl/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# http://wordlist.aspell.net
+# http://sourceforge.net/projects/wordlist
+#
+# Downloads:
+# =========
+# http://sourceforge.net/projects/wordlist/files/SCOWL
+#
+
+url         = http://downloads.sourceforge.net/project/wordlist/SCOWL
+
+versions    = 2019.10.06 2020.12.07
+pkgname     = scowl
+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 \
+	  version=`echo $$tarball | sed 's/\([a-zA-Z-]*\)\(.*\)\(.$(suffix)\)/\2/'` ; \
+	  wget -N $(url)/$$version/$$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)