Commit 68064b41 authored by Štěpán Henek's avatar Štěpán Henek 🌩

foris-controller-openvpn_client-module: package added

parent a378a660
#
# Copyright (C) 2019 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-openvpn_client-module
PKG_VERSION:=0.1
PKG_RELEASE:=1
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/turris/foris-controller-openvpn_client-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, python3-package.mk)
define Package/$(PKG_NAME)
TITLE:=$(PKG_NAME)
DEPENDS:=\
+foris-controller +turris-cagen +openvpn-openssl
MAINTAINER:=CZ.NIC <packaging@turris.cz>
endef
define Package/$(PKG_NAME)/description
This is a openvpn client module for foris-controller
endef
define Build/Compile
$(call Build/Compile/Py3Mod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
endef
# Package install definition
$(eval $(call ForisControllerModule,$(PKG_NAME)))
$(eval $(call BuildPackage,$(PKG_NAME)))
Markdown is supported
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