/[gentoo-x86]/net-misc/dhcp-agent/dhcp-agent-0.41.ebuild
Gentoo

Contents of /net-misc/dhcp-agent/dhcp-agent-0.41.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Jun 7 21:37:12 2007 UTC (12 years, 6 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove, bug 168565

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp-agent/dhcp-agent-0.41.ebuild,v 1.6 2007/01/10 17:43:57 hkbst Exp $
4
5 inherit eutils
6
7 DESCRIPTION="dhcp-agent is a portable UNIX Dynamic Host Configuration suite"
8 HOMEPAGE="http://dhcp-agent.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/dhcp-agent/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~x86 ~sparc ~ppc"
14 IUSE="doc"
15
16 DEPEND=">=dev-libs/libdnet-1.7
17 net-libs/libpcap
18 >=dev-scheme/guile-1.6.4
19 doc? ( app-text/texi2html )"
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24 sed -i -e "s:\(LDADD = \)-ldhcputil:\1-L${S}/src/.libs/ libdhcputil.la:g" \
25 -e 's:\(mkdir -p \).*\$\(.*\)\$\(.*\)\$\(.*\):\1\$(DESTDIR)\$\2\$(DESTDIR)\$\3\$(DESTDIR)\$\4:' \
26 src/Makefile.am || die "sed Makefile.am failed"
27 sed -i "s:^\(dhcpdocdir=\).*$:\"\1/share/doc/${PF}\":" configure.ac || \
28 die "sed configure.ac failed"
29 epatch ${FILESDIR}/${P}-bpf.diff
30 }
31
32 src_compile() {
33 autoreconf -fi || die "autoreconf failed"
34 econf $(use_enable doc htmldoc) || die "econf failed"
35 emake -j1 || die "emake failed"
36 }
37
38 src_install() {
39 make DESTDIR=${D} install || die "make install failed"
40 dodoc README THANKS TODO UPGRADING CAVEATS
41 }

  ViewVC Help
Powered by ViewVC 1.1.20