014_swid_generator.mk 327 B

12345678910111213141516
  1. #!/usr/bin/make
  2. PKG = swidGenerator
  3. ZIP = $(PKG)-master.zip
  4. SRC = https://github.com/strongswan/$(PKG)/archive/master.zip
  5. all: install
  6. $(ZIP):
  7. wget --ca-directory="/usr/share/ca-certificates/mozilla" $(SRC) -O $(ZIP)
  8. $(PKG)-master: $(ZIP)
  9. unzip $(ZIP)
  10. install: $(PKG)-master
  11. cd $(PKG)-master && python setup.py install