/[gentoo-x86]/net-misc/dhcpcd/dhcpcd-1.3.22_p3-r2.ebuild
Gentoo

Contents of /net-misc/dhcpcd/dhcpcd-1.3.22_p3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Oct 2 18:13:32 2003 UTC (16 years, 2 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-1.3.22_p3-r2.ebuild,v 1.8 2003/09/05 22:01:48 msterret Exp $
4
5 inherit gnuconfig
6
7 S=${WORKDIR}/${P/_p/-pl}
8 DESCRIPTION="A dhcp client only"
9 SRC_URI="ftp://ftp.phystech.com/pub/${P/_p/-pl}.tar.gz"
10 HOMEPAGE="http://www.phystech.com/download/"
11 DEPEND=""
12 SLOT="0"
13 KEYWORDS="x86 ppc ~sparc ~alpha mips"
14 LICENSE="GPL-2"
15
16 src_unpack() {
17 unpack ${A} || die "unpack failed"
18 use alpha && gnuconfig_update
19
20 #make the pidfile always goto /var/run (woodchip Dec 4 2002)
21 cd ${S}
22 cp client.c client.c.orig
23 sed -e 's%\(PID_FILE_PATH,\)ConfigDir\(,IfNameExt\)%\1"/var/run"\2%' \
24 client.c.orig >client.c
25 cp signals.c signals.c.orig
26 sed -e 's%\(PID_FILE_PATH,\)ConfigDir\(,IfNameExt\)%\1"/var/run"\2%' \
27 signals.c.orig >signals.c
28 }
29
30 src_compile() {
31 econf || die "Configure failed"
32 emake || die "Make failed"
33 }
34
35 src_install () {
36 einstall sbindir=${D}/sbin || die "Install failed"
37 if [ -z "`use build`" ]
38 then
39 dodoc AUTHORS COPYING ChangeLog NEWS README
40 else
41 rm -rf ${D}/usr/share
42 fi
43 insinto /etc/pcmcia
44 doins pcmcia/2.9.7/network*
45 }

  ViewVC Help
Powered by ViewVC 1.1.20