libimcv: Fixed processing of PTS Simple Component Evidence
[strongswan.git] / testing / scripts / recipes / 004_wpa_supplicant.mk
1 #!/usr/bin/make
2
3 PV = 2.0
4 PKG = wpa_supplicant-$(PV)
5 TAR = $(PKG).tar.gz
6 SRC = http://w1.fi/releases/$(TAR)
7
8 NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
9
10 CONFIG_OPTS =
11
12 PATCHES = \
13 wpa_supplicant-eap-tnc
14
15 SUBDIR = wpa_supplicant
16
17 all: install
18
19 $(TAR):
20 wget $(SRC)
21
22 .$(PKG)-unpacked: $(TAR)
23 tar xfz $(TAR)
24 @touch $@
25
26 .$(PKG)-patches-applied: .$(PKG)-unpacked
27 cd $(PKG) && cat $(addprefix ../patches/, $(PATCHES)) | patch -p1
28 @touch $@
29
30 .$(PKG)-configured: .$(PKG)-patches-applied
31 cp $(PKG)/$(SUBDIR)/defconfig $(PKG)/$(SUBDIR)/.config
32 @touch $@
33
34 .$(PKG)-built: .$(PKG)-configured
35 cd $(PKG)/$(SUBDIR) && make -j $(NUM_CPUS)
36 @touch $@
37
38 install: .$(PKG)-built
39 cd $(PKG)/$(SUBDIR) && make install