commit: 25aecc996d59684b89fa8877ec236a0b9efd950c
parent: 90e1c10ef0f3fbb657aa9fcf42c608ddf6d51b75
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 27 Feb 2019 10:33:34 +0100
net-misc/cjdns: Add docs and contrib/tools
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/net-misc/cjdns/cjdns-20.2.ebuild b/net-misc/cjdns/cjdns-20.2.ebuild
@@ -20,6 +20,7 @@ IUSE=""
S="${WORKDIR}/cjdns-cjdns-v${PV}"
PATCHES=( "${FILESDIR}/${PN}-fix_systemd_units.patch" )
+DOCS=( "README.md" "doc" )
pkg_setup() {
linux-info_pkg_setup
@@ -42,8 +43,13 @@ src_install() {
systemd_dounit contrib/systemd/cjdns-resume.service
newinitd contrib/openrc/cjdns cjdns
- dodoc README.md
+ einstalldocs
+
dosbin cjdroute
+
+ insinto "${ROOT}usr/share/${P}"
+ doins -r tools
+ doins -r contrib
}
pkg_postinst() {