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:
Diffstat:
1 file changed, 29 insertions, 0 deletions
diff --git a/dict/aspell/fi/Makefile b/dict/aspell/fi/Makefile
new file mode 100644
index 0000000..85be338
--- /dev/null
+++ b/dict/aspell/fi/Makefile
@@ -0,0 +1,38 @@
+#
+# Project Home:
+# ============
+# ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+#
+# Downloads:
+# =========
+# ftp://ftp.gnu.org/gnu/aspell/dict/fi
+#
+
+url = https://ftp.gnu.org/gnu/aspell/dict/fi
+
+versions = 6-fi-0.7-0
+pkgname = aspell
+suffix = tar.bz2
+
+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)