Verified Commit 1541cd41 authored by Vojtech Myslivec's avatar Vojtech Myslivec 🚀

crypto-wrapper: Add package for Crypto Wrapper

Helped-by: Karel Koci's avatarKarel Koci <karel.koci@nic.cz>
parent 0f5190e2
#
## Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
#
## This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
# #
#
include $(TOPDIR)/rules.mk
PKG_NAME:=crypto-wrapper
PKG_VERSION:=0.1
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/turris/crypto-wrapper.git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
TITLE:=Crypto Wrapper CLI
DEPENDS:=+turris-otp
endef
define Package/$(PKG_NAME)/description
Tool to unify interface for cryptographic entities on Turris 1.x, Omnia and MOX
endef
define Build/Compile
true
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/crypto-wrapper.sh $(1)/usr/bin/crypto-wrapper
endef
$(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