source: branches/packages_8.09/net/xsupplicant/Makefile @ 16013

Last change on this file since 16013 was 16013, checked in by nico, 7 years ago

[cosmetic] adjust release numbers for upcoming 8.09.1

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