forked from KiritoA/c3h_client
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
41 lines (33 loc) · 887 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=c3h-client
PKG_RELEASE:=1
PKG_VERSION:=1.0.0
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/c3h-client
SECTION:=net
CATEGORY:=Network
TITLE:=FOSU 802.1X client by KiritoA
DEPENDS:=+libpcap
endef
define Package/c3h-client/description
Support FOSU private authentication protocol.
Thanks to njit8021xclient make by liuqun.
endef
define Build/Prepare
echo "Here is Package/Prepare"
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Package/c3h-client/install
echo "Here is Package/install"
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/c3h-client $(1)/bin/
endef
$(eval $(call BuildPackage,c3h-client))