Skip to content
Snippets Groups Projects
Verified Commit 351fc441 authored by Štěpán Henek's avatar Štěpán Henek :bear:
Browse files

foris-controller-diagnostics-module: package added

parent 185fb611
No related merge requests found
#
# Copyright (C) 2017 CZ.NIC z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=foris-controller-diagnostics-module
PKG_VERSION:=0.1
PKG_RELEASE:=1
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@gitlab.labs.nic.cz:turris/foris-controller-diagnostics-module.git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILE:=LICENSE
include $(INCLUDE_DIR)/package.mk
include ../foris-controller/files/foris-controller-module.mk
$(call include_mk, python-package.mk)
define Package/$(PKG_NAME)
TITLE:=$(PKG_NAME)
DEPENDS:=\
+foris-controller +turris-diagnostics
MAINTAINER:=Stepan Henek <stepan.henek@nic.cz>
endef
define Package/$(PKG_NAME)/description
This is a diagnostics module for foris-controller
endef
define Build/Compile
$(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
endef
#
# Package install definition
$(eval $(call ForisControllerModule,$(PKG_NAME)))
$(eval $(call BuildPackage,$(PKG_NAME)))
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment