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, 31 insertions, 0 deletions
diff --git a/packages/l/Makefile b/packages/l/Makefile
index 15b2708..19410cb 100644
--- a/packages/l/Makefile
+++ b/packages/l/Makefile
@@ -35,6 +35,7 @@ SUBDIRS := aalib               \
            hunspell            \
            hwids               \
            hwloc               \
+           hyphen              \
            icu4c               \
            ieee1394            \
            ijs                 \
diff --git a/packages/l/hyphen/Makefile b/packages/l/hyphen/Makefile
new file mode 100644
index 0000000..aaeddad
--- /dev/null
+++ b/packages/l/hyphen/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+#   https://sourceforge.net/projects/hunspell
+#
+# Downloads:
+# =========
+#   https://sourceforge.net/projects/hunspell/files/Hyphen/2.8/hyphen-${VERSION}.tar.gz
+#
+
+url         = https://downloads.sourceforge.net/project/hunspell/Hyphen
+
+versions    = 2.8.8
+
+pkgname     = hyphen
+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-]*\)\([0-9][.][0-9]\)\(\..*\)/\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)