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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Aug 22 12:00:03 2014 UTC (5 years, 5 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Version bump to 1.0 rc, reported to work better than current 0.8 branch. Fixes bug #487876 by Alexander Wright

(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key C74525F2)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/dibbler-0.8.4.ebuild,v 1.1 2013/12/02 14:30:20 voyageur 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/_rc/RC}.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 S=${WORKDIR}/${P/_rc/RC}
24
25 DOC_CONTENTS="Make sure that you modify client.conf, server.conf and/or relay.conf
26 to suit your needs. They are stored in /etc/dibbler"
27
28 src_prepare() {
29 epatch_user
30 }
31
32 src_compile() {
33 emake
34 # devel documentation is broken and users should consult the online version
35 # http://klub.com.pl/dhcpv6/doxygen/
36 use doc && emake -C doc/ user
37 }
38
39 src_install() {
40 readme.gentoo_create_doc
41
42 dosbin dibbler-{client,relay,server}
43 doman doc/man/*.8
44
45 insinto /etc/dibbler
46 doins doc/examples/*.conf
47 dodir /var/lib/dibbler
48
49 dodoc AUTHORS CHANGELOG RELNOTES TODO
50 use doc && dodoc doc/dibbler-user.pdf
51
52 doinitd "${FILESDIR}"/dibbler-{client,relay,server}
53 systemd_dounit "${FILESDIR}"/dibbler-client.service
54 }

  ViewVC Help
Powered by ViewVC 1.1.20