mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-crypt/tang: Added systemd eclass; moved app-text/asciidoc to BDEPEND
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit meson
|
inherit meson systemd
|
||||||
|
|
||||||
DESCRIPTION="Tang binding daemon"
|
DESCRIPTION="Tang binding daemon"
|
||||||
HOMEPAGE="https://github.com/latchset/tang"
|
HOMEPAGE="https://github.com/latchset/tang"
|
||||||
@@ -15,24 +15,21 @@ KEYWORDS="~amd64"
|
|||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
DEPEND="acct-user/tang
|
DEPEND="acct-user/tang
|
||||||
app-text/asciidoc
|
|
||||||
net-misc/socat
|
net-misc/socat
|
||||||
>=net-libs/http-parser-2.8.0
|
>=net-libs/http-parser-2.8.0
|
||||||
>=dev-libs/jose-8"
|
>=dev-libs/jose-8"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND=""
|
BDEPEND="app-text/asciidoc"
|
||||||
|
|
||||||
src_install(){
|
src_install(){
|
||||||
meson_install
|
meson_install
|
||||||
newinitd "${FILESDIR}"/tangd.initd tangd
|
newinitd "${FILESDIR}"/tangd.initd tangd
|
||||||
|
systemd_dounit ${FILESDIR}/tangd.service
|
||||||
|
|
||||||
dodir /var/db/tang
|
dodir /var/db/tang
|
||||||
keepdir /var/db/tang
|
keepdir /var/db/tang
|
||||||
fowners tang:tang /var/db/tang
|
fowners tang:tang /var/db/tang
|
||||||
fperms 770 /var/db/tang
|
fperms 770 /var/db/tang
|
||||||
|
|
||||||
insinto /usr/lib/systemd/system
|
|
||||||
doins ${FILESDIR}/tangd.service
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst(){
|
pkg_postinst(){
|
||||||
|
|||||||
Reference in New Issue
Block a user