add pf_ring patches for kernel and libpcap
[openwrt.git] / openwrt / package / wpa_supplicant / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=wpa_supplicant
6 PKG_VERSION:=0.3.9
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=113873aafc4fcaa0515841a6f0a17fd0
9
10 PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,WPA_SUPPLICANT,wpa-supplicant,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 cp -fpR ./files/config $(PKG_BUILD_DIR)/.config
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 $(TARGET_CONFIGURE_OPTS) \
27 CPPFLAGS="-I$(TOPDIR)/package/openwrt/include -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
28 LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
29 OPT_FLAGS="$(TARGET_CFLAGS)" \
30 KERNEL=$(LINUX_DIR) \
31 all
32 touch $@
33
34 $(IPKG_WPA_SUPPLICANT):
35 install -m0755 -d $(IDIR_WPA_SUPPLICANT)/usr/sbin
36 install -m0755 $(PKG_BUILD_DIR)/wpa_cli $(IDIR_WPA_SUPPLICANT)/usr/sbin/
37 install -m0755 $(PKG_BUILD_DIR)/wpa_passphrase $(IDIR_WPA_SUPPLICANT)/usr/sbin/
38 install -m0755 $(PKG_BUILD_DIR)/wpa_supplicant $(IDIR_WPA_SUPPLICANT)/usr/sbin/
39 $(RSTRIP) $(IDIR_WPA_SUPPLICANT)
40 $(IPKG_BUILD) $(IDIR_WPA_SUPPLICANT) $(PACKAGE_DIR)
This page took 0.038219 seconds and 5 git commands to generate.