/[gentoo-x86]/net-misc/pump/pump-0.8.24-r3.ebuild
Gentoo

Contents of /net-misc/pump/pump-0.8.24-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Apr 15 21:41:41 2011 UTC (3 years, 5 months ago) by ulm
Branch: MAIN
Changes since 1.6: +1 -2 lines
Don't PROVIDE virtual/dhcpc, bug 358827.

(Portage version: 2.1.9.46/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.24-r3.ebuild,v 1.6 2011/03/15 19:31:33 nelchael Exp $
4
5 inherit eutils toolchain-funcs
6
7 PATCHLEVEL="5"
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 mirror://gentoo/${P}-1-patches.tar.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="amd64 arm hppa ia64 ppc sparc x86"
18 IUSE=""
19
20 DEPEND=">=dev-libs/popt-1.5"
21 RDEPEND="${DEPEND}"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 # Apply Debians pump patchset - they fix things good :)
28 epatch "${WORKDIR}/${PN}_${PV}-${PATCHLEVEL}.diff"
29
30 for i in "${WORKDIR}/${PV}/"*; do
31 epatch "${i}"
32 done
33 }
34
35 src_compile() {
36 emake CC="$(tc-getCC)" DEB_CFLAGS="-fPIC ${CFLAGS}" pump || die
37 }
38
39 src_install() {
40 into /
41 dosbin pump || die
42
43 doman pump.8
44 dodoc CREDITS
45
46 into /usr
47 dolib.a libpump.a || die
48 insinto /usr/include
49 doins pump.h || die
50 }

  ViewVC Help
Powered by ViewVC 1.1.20