1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils readme.gentoo systemd
8 DESCRIPTION="Portable DHCPv6 implementation (server, client and relay)"
9 HOMEPAGE="http://klub.com.pl/dhcpv6/"
10 SRC_URI="http://klub.com.pl/dhcpv6/dibbler/${P}.tar.gz"
14 KEYWORDS="amd64 hppa ~mips x86"
18 dev-texlive/texlive-latexextra
23 DOC_CONTENTS="Make sure that you modify client.conf, server.conf and/or relay.conf
24 to suit your needs. They are stored in /etc/dibbler"
32 # devel documentation is broken and users should consult the online version
33 # http://klub.com.pl/dhcpv6/doxygen/
34 use doc && emake -C doc/ user
38 readme.gentoo_create_doc
40 dosbin dibbler-{client,relay,server}
44 doins doc/examples/*.conf
45 dodir /var/lib/dibbler
47 dodoc AUTHORS CHANGELOG RELNOTES TODO
48 use doc && dodoc doc/dibbler-user.pdf
50 doinitd "${FILESDIR}"/dibbler-{client,relay,server}
51 systemd_dounit "${FILESDIR}"/dibbler-client.service