summaryrefslogtreecommitdiff
path: root/Makefile
blob: d32af3fefd5993557d2492ba5fa25c7fdfba438a (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
DOWNLOAD_BASEURL := "http://build.helsinki.at/studio-link/jessie"
VERSION := 20.03.8

all: studio-link-standalone #studio-link.lv2 studio-link-onair.lv2

studio-link-standalone: v$(VERSION)/studio-link-standalone-v$(VERSION).tar.gz
	@echo "extracting files... from $<"
	@tar -xzf $<
	@mv studio-link-standalone-v$(VERSION) $@

#studio-link.lv2: v$(VERSION)/studio-link-plugin.zip
#	@echo "extracting files... from $<"
#	@unzip -u $<

# studio-link-onair.lv2: v$(VERSION)/studio-link-plugin-onair.zip
# 	@echo "extracting files... from $<"
# 	@unzip -u $<

v$(VERSION)/%:
	@echo "fetching file: $(DOWNLOAD_BASEURL)/$(notdir $@)"
	@curl -L -f -s -S "$(DOWNLOAD_BASEURL)/$(notdir $@)" > "$@"
	@cd v$(VERSION) && sha256sum -c "$(notdir $@).sha256"

clean:
	rm -f v$(VERSION)/*.tar.gz
	rm -f v$(VERSION)/*.zip
	rm -f studio-link-standalone
	rm -rf studio-link.lv2
	rm -rf studio-link-onair.lv2