2018-01-23 14:39:24 +00:00
|
|
|
#
|
2019-01-03 14:56:11 +00:00
|
|
|
# Copyright (C) 2018-2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
2018-01-23 14:39:24 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=openmptcprouter
|
2018-10-16 09:03:39 +00:00
|
|
|
PKG_VERSION:=0.95
|
2018-01-23 14:39:24 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
MY_DEPENDS := \
|
2018-10-16 09:03:39 +00:00
|
|
|
omr-tracker
|
2018-01-23 14:39:24 +00:00
|
|
|
|
|
|
|
define Package/$(PKG_NAME)
|
|
|
|
SECTION:=OMR
|
|
|
|
CATEGORY:=OpenMPTCProuter
|
|
|
|
DEPENDS:=$(foreach p,$(MY_DEPENDS),+$(p))
|
2018-01-29 08:56:24 +00:00
|
|
|
TITLE:=OpenMPTCProuter config
|
2018-01-23 14:39:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
|
|
OpenMPTCProuter package
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
|
|
/etc/config/$(PKG_NAME)
|
2019-08-20 17:06:18 +00:00
|
|
|
/etc/vnstat_backup.tar.gz
|
2018-01-23 14:39:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|