/[gentoo-x86]/net-misc/dhcpcd/dhcpcd-3.0.11.ebuild
Gentoo

Contents of /net-misc/dhcpcd/dhcpcd-3.0.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Jul 23 11:10:11 2007 UTC (12 years, 6 months ago) by uberlord
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Punt old versions
(Portage version: 2.1.3_rc9)

1 uberlord 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 uberlord 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.0.11.ebuild,v 1.2 2007/02/15 07:51:09 uberlord Exp $
4 uberlord 1.1
5     inherit eutils toolchain-funcs
6    
7     DESCRIPTION="A DHCP client"
8     HOMEPAGE="http://dhcpcd.berlios.de"
9     SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 uberlord 1.2 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
14 uberlord 1.1 IUSE=""
15    
16     DEPEND=""
17     PROVIDE="virtual/dhcpc"
18    
19     src_unpack() {
20     unpack ${A}
21     cd "${S}"
22    
23     # Redefine the location of ntp.drift
24     sed -i -e 's,#define NTPDRIFTFILE\t.*,#define NTPDRIFTFILE\t\t\"/var/lib/ntp/ntp.drift\",' \
25     pathnames.h || die "sed failed"
26     }
27    
28     src_compile() {
29     emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
30     }
31    
32     src_install() {
33     emake DESTDIR="${D}" install || die
34     dodoc ChangeLog
35     }

  ViewVC Help
Powered by ViewVC 1.1.20