guru/app-crypt/tang/tang-15-r1.ebuild
Julien Roy 13a67a4c0f
app-crypt/tang: add missing RDEPENDs
Closes: https://bugs.gentoo.org/932171
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-05-24 14:57:47 -04:00

40 lines
738 B
Bash

# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson systemd
DESCRIPTION="Tang binding daemon"
HOMEPAGE="https://github.com/latchset/tang"
SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
net-libs/http-parser
dev-libs/jose
"
RDEPEND="
${DEPEND}
acct-user/tang
dev-libs/jansson
net-misc/socat
"
BDEPEND="app-text/asciidoc"
src_install(){
meson_install
newinitd "${FILESDIR}"/tangd.initd tangd
systemd_dounit "${FILESDIR}"/tangd.service
doconfd "${FILESDIR}"/tangd
dodir /var/db/tang
keepdir /var/db/tang
fowners tang:tang /var/db/tang
fperms 770 /var/db/tang
}