/[gentoo-x86]/net-misc/pump/pump-0.8.21-r5.ebuild
Gentoo

Contents of /net-misc/pump/pump-0.8.21-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jul 14 19:02:57 2005 UTC (14 years, 4 months ago) by uberlord
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fixed --keep-up. Needs to be used when starting instead of releasing now.
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/pump/pump-0.8.21-r5.ebuild,v 1.1 2005/07/14 16:23:18 uberlord Exp $
4
5 inherit eutils
6
7 PATCHLEVEL="2"
8
9 DESCRIPTION="This is the DHCP/BOOTP client written by RedHat"
10 HOMEPAGE="http://ftp.debian.org/debian/pool/main/p/pump/"
11 SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.gz
12 mirror://debian/pool/main/p/${PN}/${PN}_${PV}-${PATCHLEVEL}.diff.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
17 IUSE=""
18
19 DEPEND=">=dev-libs/popt-1.5"
20
21 PROVIDE="virtual/dhcpc"
22
23 src_unpack() {
24 cd "${WORKDIR}"
25 unpack "${PN}_${PV}.orig.tar.gz"
26
27 # Apply Debians pump patchset - they fix things good :)
28 epatch "${DISTDIR}/${PN}_${PV}-${PATCHLEVEL}.diff.gz"
29
30 # Enable the -e (--etc-dir) option to specify where to make
31 # resolv.conf - default /etc
32 # Enable the -m (--route-metric) option to specify the default
33 # metric applied to routes
34 # Enable the --keep-up option to keep interfaces up when we release
35 # Enable the creation of /etc/ntp.conf and the --no-ntp option
36 epatch "${FILESDIR}/pump-${PV}-gentoo.diff"
37 }
38
39 src_compile() {
40 make pump DEB_CFLAGS="-fPIC" || die
41 }
42
43 src_install() {
44 into /
45 dosbin pump || die
46
47 doman pump.8
48 dodoc CREDITS
49
50 into /usr/
51 dolib.a libpump.a
52 insinto /usr/include/
53 doins pump.h
54
55 make -C po install datadir="${D}/usr/share/"
56 }

  ViewVC Help
Powered by ViewVC 1.1.20