blob: 8a44640ba4fc636b96022ffe20d64aee6e20cfb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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)
|