blob: cc4a94a0bce24b8216bd6209326a63da16846ee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/make
PKG = strongTNC
ZIP = $(PKG)-master.zip
SRC = https://github.com/strongswan/$(PKG)/archive/master.zip
DEPS = $(PKG)-deps
all: install
$(ZIP):
wget --ca-directory=/usr/share/ca-certificates/mozilla/ $(SRC) -O $(ZIP)
$(PKG)-master: $(ZIP)
unzip -u $(ZIP)
$(DEPS): $(PKG)-master
mkdir -p $(DEPS)
pip install --download $(DEPS) -r $(PKG)-master/requirements.txt
install: $(DEPS)
pip install --no-index --find-links=file://`pwd`/$(DEPS) -r $(PKG)-master/requirements.txt
cp -r $(PKG)-master /var/www/tnc && chgrp -R www-data /var/www/tnc && chmod g+w /var/www/tnc /var/www/tnc/django.db
|