|
Lines 1-30
Link Here
|
| 1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/dibbler-0.4.1.ebuild,v 1.2 2006/05/16 18:46:59 gmsoft Exp $ |
3 |
# $Header: $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils |
5 |
inherit eutils |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="Portable DHCPv6 implementation (server, client and relay)" |
7 |
DESCRIPTION="Portable DHCPv6 implementation (server, client and relay)" |
| 8 |
HOMEPAGE="http://klub.com.pl/dhcpv6/" |
8 |
HOMEPAGE="http://klub.com.pl/dhcpv6/" |
| 9 |
SRC_URI="http://klub.com.pl/dhcpv6/dibbler/${P}-src.tar.gz |
9 |
|
| 10 |
doc? ( http://klub.com.pl/dhcpv6/dibbler/${P}-doc.tar.gz )" |
10 |
MY_P="${P/_rc/-RC}" |
|
|
11 |
SRC_URI="http://klub.com.pl/dhcpv6/dibbler/${MY_P}-src.tar.gz |
| 12 |
doc? ( http://klub.com.pl/dhcpv6/dibbler/${MY_P}-doc.tar.gz )" |
| 11 |
|
13 |
|
| 12 |
LICENSE="GPL-2" |
14 |
LICENSE="GPL-2" |
| 13 |
SLOT="0" |
15 |
SLOT="0" |
| 14 |
KEYWORDS="~x86 ~hppa" |
16 |
KEYWORDS="~x86 ~hppa ~amd64" |
| 15 |
IUSE="doc" |
17 |
IUSE="doc" |
| 16 |
DEPEND="" |
18 |
DEPEND="" |
|
|
19 |
S=${WORKDIR}/${MY_P} |
| 17 |
|
20 |
|
| 18 |
DIBBLER_DOCDIR=${WORKDIR}/doc |
21 |
DIBBLER_DOCDIR=${WORKDIR}/doc |
| 19 |
|
22 |
|
| 20 |
src_unpack() { |
23 |
src_unpack() { |
| 21 |
unpack ${A} |
24 |
unpack ${A} |
| 22 |
cd ${S} |
25 |
cd ${S} |
| 23 |
epatch ${FILESDIR}/${PN}-gcc-4.1.patch |
|
|
| 24 |
} |
26 |
} |
| 25 |
|
27 |
|
| 26 |
src_compile() { |
28 |
src_compile() { |
| 27 |
emake server client relay || die "Compilation failed" |
29 |
emake -j1 || die "Compilation failed" |
| 28 |
} |
30 |
} |
| 29 |
|
31 |
|
| 30 |
src_install() { |
32 |
src_install() { |