update openssl to 0.9.8
[openwrt.git] / openwrt / package / hostap-utils / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=hostap-utils
6 PKG_VERSION:=0.4.7
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=afe041581b8f01666e353bec20917c85
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 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,HOSTAP_UTILS,hostap-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 $(TARGET_CONFIGURE_OPTS) \
27 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -Wall" \
28 all
29 touch $@
30
31 $(IPKG_HOSTAP_UTILS):
32 install -m0755 -d $(IDIR_HOSTAP_UTILS)/usr/sbin
33 install -m0755 $(PKG_BUILD_DIR)/hostap_crypt_conf $(IDIR_HOSTAP_UTILS)/usr/sbin/
34 install -m0755 $(PKG_BUILD_DIR)/hostap_diag $(IDIR_HOSTAP_UTILS)/usr/sbin/
35 install -m0755 $(PKG_BUILD_DIR)/hostap_io_debug $(IDIR_HOSTAP_UTILS)/usr/sbin/
36 install -m0755 $(PKG_BUILD_DIR)/hostap_rid $(IDIR_HOSTAP_UTILS)/usr/sbin/
37 install -m0755 $(PKG_BUILD_DIR)/prism2_srec $(IDIR_HOSTAP_UTILS)/usr/sbin/
38 install -m0755 $(PKG_BUILD_DIR)/split_combined_hex $(IDIR_HOSTAP_UTILS)/usr/sbin/
39 $(RSTRIP) $(IDIR_HOSTAP_UTILS)
40 $(IPKG_BUILD) $(IDIR_HOSTAP_UTILS) $(PACKAGE_DIR)
41
42 mostlyclean:
43 -$(MAKE) -C $(PKG_BUILD_DIR) clean
44 rm -f $(PKG_BUILD_DIR)/.built
45
This page took 0.038671 seconds and 5 git commands to generate.