mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 03:29:52 +00:00
7d77c4d401
Resolves: #22632 Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
#
|
|
# Author: Tibor Dudlák
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=tang
|
|
PKG_VERSION:=14
|
|
PKG_RELEASE:=4
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=https://github.com/latchset/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/
|
|
PKG_HASH:=04263ed1cc98d60cab29fe47f908921b7b1aa4d6da5f9de2fcbe543773b75886
|
|
|
|
PKG_MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
define Package/tang
|
|
SECTION:=utils
|
|
TITLE:=tang v$(PKG_VERSION) - daemon for binding data to the presence of a third party
|
|
DEPENDS:=+libhttp-parser +jose
|
|
URL:=https://github.com/latchset/tang
|
|
USERID:=tang:tang
|
|
endef
|
|
|
|
define Package/tang/description
|
|
Tang is a small daemon for binding data to the presence of a third party.
|
|
endef
|
|
|
|
define Package/tang/conffiles
|
|
/usr/share/tang/db/
|
|
endef
|
|
|
|
define Package/tang/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tang-show-keys $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/tangd* $(1)/usr/sbin/
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/tang.init $(1)/etc/init.d/tang
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/config $(1)/etc/config/tang
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,tang))
|