# # Project Home: # ============ # https://invisible-island.net/xterm # # Downloads: # ========= # https://invisible-island.net/archives/xterm # url = https://invisible-island.net/archives/xterm versions = 313 322 324 325 379 pkgname = xterm suffix = tgz 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)