Use python-based swidGenerator to generated SWID tags
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/make
|
||||
|
||||
PKG = swidGenerator
|
||||
ZIP = $(PKG)-master.zip
|
||||
SRC = https://github.com/tnc-ba/$(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
|
||||
Reference in New Issue
Block a user