Annotation of embedaddon/strongswan/testing/scripts/recipes/015_strongTNC.mk, revision 1.1
1.1 ! misho 1: #!/usr/bin/make
! 2:
! 3: PKG = strongTNC
! 4: ZIP = $(PKG)-master.zip
! 5: SRC = https://github.com/strongswan/$(PKG)/archive/master.zip
! 6: DEPS = $(PKG)-deps
! 7:
! 8: all: install
! 9:
! 10: $(ZIP):
! 11: wget --ca-directory=/usr/share/ca-certificates/mozilla/ $(SRC) -O $(ZIP)
! 12:
! 13: $(PKG)-master: $(ZIP)
! 14: unzip -u $(ZIP)
! 15:
! 16: $(DEPS): $(PKG)-master
! 17: mkdir -p $(DEPS)
! 18: pip install --download $(DEPS) -r $(PKG)-master/requirements.txt
! 19:
! 20: install: $(DEPS)
! 21: pip install --no-index --find-links=file://`pwd`/$(DEPS) -r $(PKG)-master/requirements.txt
! 22: cp -r $(PKG)-master /var/www/tnc && chgrp -R www-data /var/www/tnc && chmod g+sw /var/www/tnc
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>