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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Feb 21 13:10:56 2007 UTC (12 years, 9 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.2-r10)

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/dhcpcd/dhcpcd-3.0.9.ebuild,v 1.2 2007/02/11 10:14:30 vapier Exp $
4
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 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
14 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