author: kx <kx@radix.pro> 2023-04-08 21:49:09 +0300
committer: kx <kx@radix.pro> 2023-04-08 21:49:09 +0300
commit: 8da99f0df767bd0f30cec5080adccec66eecaab4
parent: bc12d811bfdbcc8ba92fd32a06eabf0644eac6b9
Commit Summary:
Diffstat:
1 file changed, 39 insertions, 0 deletions
diff --git a/packages/m/workbone/Makefile b/packages/m/workbone/Makefile
new file mode 100644
index 0000000..8a44640
--- /dev/null
+++ b/packages/m/workbone/Makefile
@@ -0,0 +1,51 @@
+#
+# Project Home:
+# ============
+# [ http://www.boutell.com/lsm/lsmbyid.cgi/001833 ]
+#
+# Other curser utils:
+# ==================
+# https://ibiblio.org/pub/Linux/apps/sound/cdrom/curses/!INDEX.html
+#
+# Downloads:
+# =========
+# https://ibiblio.org/pub/Linux/apps/sound/cdrom/curses
+# ftp://sunsite.unc.edu/pub/Linux/apps/sound/cdrom/curses
+#
+
+url = https://ibiblio.org/pub/Linux/apps/sound/cdrom/curses
+
+version = 2.4
+
+pkgname = WorkBone
+suffix = tar.gz
+
+tarball = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(version)))
+sha1s = $(addsuffix .sha1sum, $(tarball))
+description = $(addsuffix .lsm, $(addprefix $(pkgname)-, $(version)))
+
+files = $(description)
+
+all: $(tarball) $(files) $(sha1s)
+
+.PHONY: downloads_clean
+
+
+$(tarball):
+ @echo -e "\n======= Downloading source tarball =======\n"
+ wget -N $(url)/$(tarball)
+
+$(files): $(tarball)
+ @echo -e "\n======= Downloading patch and description =======\n"
+ @for file in $(files) ; do \
+ wget -N $(url)/$$file ; \
+ 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 $(tarball) $(files) $(sha1s)