Sources

The Tree of Radix and Third Party Sources

1388 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2021-05-01 19:04:23 +0300 committer: kx <kx@radix.pro> 2021-05-01 19:04:23 +0300 commit: 7701beaaebb4ea08f853f899ee861c84c2e53256 parent: fb46c4b3f20737a34997f1d1e5fc030e81748a5e
Commit Summary:
libs: newt-0.52.21, slang-2.3.2
Diffstat:
3 files changed, 35 insertions, 6 deletions
diff --git a/packages/l/Makefile b/packages/l/Makefile
index ca988ea..358170e 100644
--- a/packages/l/Makefile
+++ b/packages/l/Makefile
@@ -83,6 +83,7 @@ SUBDIRS := aalib                \
            netpbm               \
            netpbm-doc           \
            netpbm-super-stable  \
+           newt                 \
            openmpi              \
            pciids               \
            pcre                 \
diff --git a/packages/l/newt/Makefile b/packages/l/newt/Makefile
new file mode 100644
index 0000000..218b9af
--- /dev/null
+++ b/packages/l/newt/Makefile
@@ -0,0 +1,37 @@
+#
+# Project Home:
+# ============
+# https://pagure.io/newt
+#
+# Downloads:
+# =========
+# https://releases.pagure.org/newt
+#
+
+url         = https://releases.pagure.org/newt
+
+versions    = 0.52.21
+pkgname     = newt
+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)
diff --git a/packages/l/slang/Makefile b/packages/l/slang/Makefile
index 63cd0a6..a776328 100644
--- a/packages/l/slang/Makefile
+++ b/packages/l/slang/Makefile
@@ -1,16 +1,16 @@
 #
 # Project Home:
 # ============
-# http://jedsoft.org/slang/index.html
+# https://www.jedsoft.org/slang
 #
 # Downloads:
 # =========
-# ftp://space.mit.edu/pub/davis/slang
+# https://www.jedsoft.org/releases/slang
 #
 
-url         = ftp://space.mit.edu/pub/davis/slang
+url         = https://www.jedsoft.org/releases/slang
 
-versions    = 2.2.4
+versions    = 2.3.2
 pkgname     = slang
 suffix      = tar.bz2
 
@@ -25,8 +25,7 @@ all: $(tarballs) $(sha1s)
 $(tarballs):
 	@echo -e "\n======= Downloading source tarballs =======\n"
 	@for version in $(versions) ; do \
-	  major_minor=`echo $$version | sed 's/\([0-9][.0-9][0-9]*\)\([\.].*\)/\1/'` ; \
-	  wget -N $(url)/v$$major_minor/$(pkgname)-$$version.$(suffix) ;  \
+	  wget -N $(url)/$(pkgname)-$$version.$(suffix) ;  \
 	done