-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
42 lines (33 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
37
38
39
40
41
42
#
# Copyright (C) 2020 AnYun <[email protected]>
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
PKG_NAME:=jmusupplicant
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/ShanQincheng/jmuSupplicant.git
PKG_REV:=9ddc31252146b481dc6bca116625be13d7f5bc7f
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/jmusupplicant
SECTION:=net
CATEGORY:=Network
TITLE:=Ruijie Client Daemon
URL:=https://github.com/ShanQincheng/jmuSupplicant
DEPENDS:=+libpcap
endef
define Package/jmusupplicant/description
Client for Ruijie Authentication in JMU campus.
endef
define Package/jmusupplicant/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/jmusupplicant $(1)/usr/bin
endef
$(eval $(call BuildPackage,$(PKG_NAME)))