-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
36 lines (29 loc) · 1.01 KB
/
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
include $(TOPDIR)/rules.mk
PKG_NAME:=minieap-gdufs
PKG_VERSION:=0.93
PKG_RELEASE:=5
PKG_MAINTAINER:=Richard Yu <[email protected]>
PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/jimlee2002/minieap-gdufs.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=v$(PKG_VERSION)-gdufs
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MIRROR_HASH:=1e4b47ca33af8fbe34a8b584ffcb214a47dfebd6d17ecd1e7f78c4131fcba732
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)))