-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathMakefile
35 lines (28 loc) · 962 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
include $(TOPDIR)/rules.mk
PKG_NAME:=minieap
PKG_VERSION:=0.92.1
PKG_RELEASE:=4
PKG_MAINTAINER:=Richard Yu <[email protected]>
PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/ysc3839/minieap.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=acc940706d8821d0114b9f93319973165900b595
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=net
CATEGORY:=Network
TITLE:=Extensible 802.1x client with Ruijie v3 (v4) plugin
MAINTAINER:=updateing
URL:=https://github.com/updateing/minieap
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/minieap $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/lib/netifd/proto
$(INSTALL_BIN) ./files/minieap.sh $(1)/lib/netifd/proto/
$(INSTALL_BIN) ./files/minieap.script $(1)/lib/netifd/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))