mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
42 lines
792 B
Makefile
42 lines
792 B
Makefile
#
|
|
# Copyright (C) 2018-2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=openmptcprouter
|
|
PKG_VERSION:=0.95
|
|
PKG_RELEASE:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
MY_DEPENDS := \
|
|
omr-tracker
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=OMR
|
|
CATEGORY:=OpenMPTCProuter
|
|
DEPENDS:=$(foreach p,$(MY_DEPENDS),+$(p))
|
|
TITLE:=OpenMPTCProuter config
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
OpenMPTCProuter package
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
/etc/config/$(PKG_NAME)
|
|
/etc/vnstat_backup.tar.gz
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|