Root/package/hostap-utils/Makefile

1# Copyright (C) 2006 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4# See /LICENSE for more information.
5#
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=hostap-utils
10PKG_VERSION:=0.4.7
11PKG_RELEASE:=1
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
15PKG_MD5SUM:=afe041581b8f01666e353bec20917c85
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/hostap-utils
20  SECTION:=net
21  CATEGORY:=Network
22  DEPENDS:=kmod-hostap
23  TITLE:=Host AP driver utility programs
24  URL:=http://hostap.epitest.fi/
25endef
26
27define Build/Compile
28    $(MAKE) -C $(PKG_BUILD_DIR) \
29        $(TARGET_CONFIGURE_OPTS) \
30        CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -Wall" \
31        all
32endef
33
34define Package/hostap-utils/install
35    $(INSTALL_DIR) $(1)/usr/sbin
36    $(INSTALL_BIN) $(PKG_BUILD_DIR)/hostap_crypt_conf $(1)/usr/sbin/
37    $(INSTALL_BIN) $(PKG_BUILD_DIR)/hostap_diag $(1)/usr/sbin/
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/hostap_io_debug $(1)/usr/sbin/
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/hostap_rid $(1)/usr/sbin/
40    $(INSTALL_BIN) $(PKG_BUILD_DIR)/prism2_srec $(1)/usr/sbin/
41    $(INSTALL_BIN) $(PKG_BUILD_DIR)/split_combined_hex $(1)/usr/sbin/
42endef
43
44$(eval $(call BuildPackage,hostap-utils))
45

Archive Download this file



interactive