mirror of
https://github.com/kenzok8/small-package
synced 2025-01-07 09:16:47 +08:00
36 lines
962 B
Makefile
36 lines
962 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=minieap
|
|
PKG_VERSION:=0.92.1
|
|
PKG_RELEASE:=4
|
|
PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
|
|
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)))
|