source: packages/net/xsupplicant/Makefile @ 23494

Last change on this file since 23494 was 23494, checked in by mb, 6 years ago

xsupplicant: Internal LEX deps are broken. Disable parallel build.

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1#
2# Copyright (C) 2006-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=xsupplicant
11PKG_VERSION:=1.2.8
12PKG_RELEASE:=3
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@SF/open1x
16PKG_MD5SUM:=75f89731b905eb8d36a52621661e1226
17
18PKG_BUILD_DEPENDS:=PACKAGE_kmod-madwifi:madwifi
19PKG_INSTALL:=1
20PKG_BUILD_PARALLEL:=0
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/xsupplicant
25  SECTION:=net
26  CATEGORY:=Network
27  DEPENDS:=+libopenssl +libiw
28  TITLE:=A fully compliant 802.1x authenticator
29  URL:=http://open1x.sourceforge.net/
30endef
31
32define Package/xsupplicant/description
33 This software allows a GNU/Linux or BSD workstation to authenticate with
34 a RADIUS server using 802.1x and various EAP protocols.
35endef
36
37define Package/xsupplicant/conffiles
38/etc/xsupplicant.conf
39endef
40
41TARGET_CFLAGS += --std=gnu99
42
43CONFIGURE_ARGS+= \
44        --with-openssl="$(STAGING_DIR)/usr" \
45        --with-madwifi-path="$(STAGING_DIR)/usr/include/madwifi" \
46
47CONFIGURE_VARS+= \
48        CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/madwifi" \
49
50define Build/Prepare
51        $(call Build/Prepare/Default)
52        (cd $(PKG_BUILD_DIR); touch \
53                configure.in \
54                aclocal.m4 \
55                Makefile.in \
56                configure \
57        );
58endef
59
60define Package/xsupplicant/install
61        $(INSTALL_DIR) $(1)/etc
62        $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/xsupplicant.conf $(1)/etc/
63        $(INSTALL_DIR) $(1)/usr/bin
64        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xsup_* $(1)/usr/bin/
65        $(INSTALL_DIR) $(1)/usr/sbin
66        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xsupplicant $(1)/usr/sbin/
67endef
68
69$(eval $(call BuildPackage,xsupplicant))
Note: See TracBrowser for help on using the repository browser.