summaryrefslogtreecommitdiff
path: root/testing/scripts/recipes/014_swid_generator.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testing/scripts/recipes/014_swid_generator.mk')
-rw-r--r--testing/scripts/recipes/014_swid_generator.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/scripts/recipes/014_swid_generator.mk b/testing/scripts/recipes/014_swid_generator.mk
new file mode 100644
index 000000000..589146906
--- /dev/null
+++ b/testing/scripts/recipes/014_swid_generator.mk
@@ -0,0 +1,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