Line
Link Here
|
0 |
-- ctrlproxy-3.0.8.ebuild |
0 |
++ ctrlproxy-3.0.8-r1.ebuild |
Lines 1-32
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2012 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-irc/ctrlproxy/ctrlproxy-3.0.8.ebuild,v 1.3 2009/06/02 12:21:08 flameeyes Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/ctrlproxy/ctrlproxy-3.0.8.ebuild,v 1.3 2009/06/02 12:21:08 flameeyes Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
EAPI=4 |
|
|
6 |
|
7 |
inherit autotools eutils |
6 |
|
8 |
|
7 |
DESCRIPTION="IRC proxy with multiserver and multiclient support" |
9 |
DESCRIPTION="IRC proxy with multiserver and multiclient support" |
8 |
HOMEPAGE="http://www.ctrlproxy.org" |
10 |
HOMEPAGE="http://samba.org/~jelmer/ctrlproxy/" |
9 |
SRC_URI="http://www.ctrlproxy.org/releases/${P}.tar.gz" |
11 |
SRC_URI="http://www.samba.org/~jelmer/ctrlproxy/releases/${P}.tar.gz" |
10 |
|
12 |
|
11 |
LICENSE="GPL-3" |
13 |
LICENSE="GPL-3" |
12 |
SLOT="0" |
14 |
SLOT="0" |
13 |
KEYWORDS="alpha ~amd64 ia64 ~ppc x86" |
15 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86" |
14 |
IUSE="ssl" |
16 |
IUSE="ssl readline" |
|
|
17 |
|
15 |
RESTRICT="test" |
18 |
RESTRICT="test" |
16 |
|
19 |
|
17 |
RDEPEND=">=dev-libs/glib-2 |
20 |
RDEPEND=">=dev-libs/glib-2 |
18 |
ssl? ( net-libs/gnutls )" |
21 |
readline? ( sys-libs/readline ) |
|
|
22 |
ssl? ( dev-libs/libgcrypt net-libs/gnutls )" |
23 |
|
19 |
DEPEND="${RDEPEND} |
24 |
DEPEND="${RDEPEND} |
20 |
dev-util/pkgconfig" |
25 |
dev-util/pkgconfig" |
21 |
|
26 |
|
22 |
src_unpack() { |
27 |
src_prepare() { |
23 |
unpack ${A} |
28 |
epatch "${FILESDIR}/"${P}-asneeded.patch |
24 |
|
29 |
epatch "${FILESDIR}"/${P}-configure.patch |
25 |
cd "${S}" |
30 |
eautoconf |
|
|
31 |
} |
26 |
|
32 |
|
27 |
epatch "${FILESDIR}/${P}-asneeded.patch" |
33 |
src_configure() { |
|
|
34 |
econf \ |
35 |
$(use_with readline) \ |
36 |
$(use_with ssl) |
28 |
} |
37 |
} |
29 |
|
38 |
|
30 |
src_install() { |
39 |
src_install() { |
31 |
emake DESTDIR="${D}" install install-doc || die "emake install failed" |
40 |
emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \ |
|
|
41 |
install install-doc |
32 |
} |
42 |
} |