Updated URL to swidGenerator in recipe
[strongswan.git] / testing / scripts / recipes / 002_tnc-fhh.mk
1 #!/usr/bin/make
2
3 PKG = fhhtnc
4 SRC = git://github.com/trustatfhh/tnc-fhh.git
5
6 NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
7
8 CONFIG_OPTS = \
9 -DCOMPONENT=all \
10 -DNAL=8021x
11
12 all: install
13
14 .$(PKG)-cloned:
15 git clone $(SRC) $(PKG)
16 mkdir $(PKG)/build
17 @touch $@
18
19 .$(PKG)-configured: .$(PKG)-cloned
20 cd $(PKG)/build && cmake $(CONFIG_OPTS) ../
21 @touch $@
22
23 .$(PKG)-built: .$(PKG)-configured
24 cd $(PKG)/build && make -j $(NUM_CPUS)
25 @touch $@
26
27 install: .$(PKG)-built
28 cd $(PKG)/build && make install