/[gentoo-x86]/net-irc/irssi/irssi-0.8.10-r4.ebuild
Gentoo

Contents of /net-irc/irssi/irssi-0.8.10-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Wed Nov 7 19:08:33 2007 UTC (7 years, 1 month ago) by swegener
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED
Cleanup.
(Portage version: 2.1.3.19)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/irssi-0.8.10-r4.ebuild,v 1.15 2007/09/22 19:13:41 swegener Exp $
4
5 inherit perl-module eutils
6
7 DESCRIPTION="A modular textUI IRC client with IPv6 support"
8 HOMEPAGE="http://irssi.org/"
9 SRC_URI="http://irssi.org/files/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
14 IUSE="ipv6 perl ssl socks5"
15
16 RDEPEND="sys-libs/ncurses
17 >=dev-libs/glib-2.2.1
18 ssl? ( dev-libs/openssl )
19 perl? ( dev-lang/perl )
20 socks5? ( >=net-proxy/dante-1.1.18 )"
21 DEPEND="${RDEPEND}
22 >=dev-util/pkgconfig-0.9.0"
23 RDEPEND="${RDEPEND}
24 perl? ( !net-im/silc-client )
25 !net-irc/irssi-svn"
26
27 src_unpack() {
28 unpack ${A}
29 cd "${S}"
30
31 epatch "${FILESDIR}"/${P}-dcc-segv.patch
32 epatch "${FILESDIR}"/${P}-line-split.patch
33
34 epunt_cxx
35 }
36
37 src_compile() {
38 econf \
39 --with-proxy \
40 --with-ncurses \
41 --with-perl-lib=vendor \
42 $(use_with perl) \
43 $(use_with socks5 socks) \
44 $(use_enable ssl) \
45 $(use_enable ipv6) \
46 || die "econf failed"
47 emake || die "emake failed"
48 }
49
50 src_install() {
51 make \
52 DESTDIR="${D}" \
53 docdir=/usr/share/doc/${PF} \
54 install || die "make install failed"
55
56 use perl && fixlocalpod
57
58 dodoc AUTHORS ChangeLog README TODO NEWS || die "dodoc failed"
59 }

  ViewVC Help
Powered by ViewVC 1.1.20