Sources

The Tree of Radix and Third Party Sources

1388 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2021-04-24 23:50:51 +0300 committer: kx <kx@radix.pro> 2021-04-24 23:50:51 +0300 commit: d2c4a3dfc446edd047e54e275b97e132ef72fd56 parent: ea74093f8de605a032f1126a8174c5a3d676c22f
Commit Summary:
libuv-v1.41.0
Diffstat:
2 files changed, 32 insertions, 0 deletions
diff --git a/packages/l/Makefile b/packages/l/Makefile
index 190c708..00cdc41 100644
--- a/packages/l/Makefile
+++ b/packages/l/Makefile
@@ -68,6 +68,7 @@ SUBDIRS := aalib                \
            libunwind            \
            libusb               \
            libusb-compat        \
+           libuv                \
            libvisual            \
            libxml2              \
            libxslt              \
diff --git a/packages/l/libuv/Makefile b/packages/l/libuv/Makefile
new file mode 100644
index 0000000..bea5f83
--- /dev/null
+++ b/packages/l/libuv/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# https://iodbc.org
+# https://www.iodbc.org/dataspace/iodbc/wiki/iODBC
+#
+# Downloads:
+# =========
+# https://dist.libuv.org/dist
+#
+
+url         = https://dist.libuv.org/dist
+
+versions    = v1.41.0
+pkgname     = libuv
+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-]*\)\(.*\)\(.tar.gz\)/\2/'` ; \
+	  wget -N $(url)/v$$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)