summaryrefslogtreecommitdiff
path: root/testing/scripts/recipes/014_swid_generator.mk
blob: 589146906486dd3f29436a6d8546286c4e3ec1e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make

PKG = swidGenerator
ZIP = $(PKG)-master.zip
SRC = https://github.com/strongswan/$(PKG)/archive/master.zip

all: install

$(ZIP):
	wget --ca-directory="/usr/share/ca-certificates/mozilla" $(SRC) -O $(ZIP)

$(PKG)-master: $(ZIP)
	unzip $(ZIP)

install: $(PKG)-master
	cd $(PKG)-master && python setup.py install