mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update Makefile
This commit is contained in:
parent
8d205b9d84
commit
c7a04e58d8
1 changed files with 20 additions and 0 deletions
|
@ -34,6 +34,8 @@ include $(INCLUDE_DIR)/package.mk
|
|||
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
|
||||
|
||||
define Package/netmaker
|
||||
$(call Package/netmaker/Default)
|
||||
$(call GoPackage/GoSubMenu)
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=VPN
|
||||
|
@ -54,9 +56,24 @@ endef
|
|||
|
||||
define Package/netmaker/description
|
||||
$(call Package/netmaker/Default/description)
|
||||
|
||||
This package contains the binaries.
|
||||
endef
|
||||
|
||||
define Package/netmaker-dev
|
||||
TITLE+= (source files)
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=VPN
|
||||
PKGARCH:=all
|
||||
endef
|
||||
|
||||
define Package/netmaker-dev/description
|
||||
$(call Package/netmaker/Default/description)
|
||||
|
||||
This package provides the source files.
|
||||
endef
|
||||
|
||||
define Package/netmaker/install
|
||||
$(INSTALL_DIR) $(1)/etc/netclient/
|
||||
$(INSTALL_DIR) $(1)/etc/netclient/config
|
||||
|
@ -71,3 +88,6 @@ endef
|
|||
|
||||
$(eval $(call GoBinPackage,netmaker))
|
||||
$(eval $(call BuildPackage,netmaker))
|
||||
|
||||
$(eval $(call GoSrcPackage,netmaker-dev))
|
||||
$(eval $(call BuildPackage,netmaker-dev))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue