/[gentoo-x86]/net-misc/dibbler/dibbler-1.0.0.ebuild
Gentoo

Contents of /net-misc/dibbler/dibbler-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Feb 10 10:10:12 2015 UTC (4 years, 10 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #539110

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/dibbler-1.0.0.ebuild,v 1.3 2015/02/07 13:29:43 ago Exp $
4
5 EAPI="5"
6 inherit eutils readme.gentoo systemd
7
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"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 hppa ~mips x86"
15 IUSE="doc"
16
17 DEPEND="doc? ( || (
18 dev-texlive/texlive-latexextra
19 dev-tex/floatflt )
20 )"
21 RDEPEND=""
22
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"
25
26 src_prepare() {
27 epatch_user
28 }
29
30 src_compile() {
31 emake
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
35 }
36
37 src_install() {
38 readme.gentoo_create_doc
39
40 dosbin dibbler-{client,relay,server}
41 doman doc/man/*.8
42
43 insinto /etc/dibbler
44 doins doc/examples/*.conf
45 dodir /var/lib/dibbler
46
47 dodoc AUTHORS CHANGELOG RELNOTES TODO
48 use doc && dodoc doc/dibbler-user.pdf
49
50 doinitd "${FILESDIR}"/dibbler-{client,relay,server}
51 systemd_dounit "${FILESDIR}"/dibbler-client.service
52 }

  ViewVC Help
Powered by ViewVC 1.1.20