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.20_p0-r1.ebuild,v 1.20 2003/09/05 22:01:48 msterret Exp $ |
4 |
|
5 |
MYV=1.3.20-pl0 |
6 |
S=${WORKDIR}/${PN}-${MYV} |
7 |
DESCRIPTION="A dhcp client only" |
8 |
SRC_URI="ftp://ftp.phystech.com/pub/${PN}-${MYV}.tar.gz" |
9 |
HOMEPAGE="http://www.phystech.com/download/" |
10 |
DEPEND="" |
11 |
SLOT="0" |
12 |
KEYWORDS="x86 ppc sparc alpha mips" |
13 |
LICENSE="GPL-2" |
14 |
|
15 |
src_compile() { |
16 |
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --sbindir=/sbin --host=${CHOST} || die |
17 |
make || die |
18 |
} |
19 |
|
20 |
src_install () { |
21 |
make DESTDIR=${D} install || die |
22 |
if [ -z "`use build`" ] |
23 |
then |
24 |
dodoc AUTHORS COPYING ChangeLog NEWS README |
25 |
else |
26 |
rm -rf ${D}/usr/share |
27 |
fi |
28 |
insinto /etc/pcmcia |
29 |
doins pcmcia/network* |
30 |
} |