blob: 2e231c821bccc6d7a23c8e7dda05b1059c6247a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/epic5/epic5-1.0.ebuild,v 1.4 2012/12/23 20:14:47 ulm Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Epic5 IRC Client"
SRC_URI="ftp://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/${P}.tar.bz2"
HOMEPAGE="http://epicsol.org/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="iconv ipv6 perl ssl tcl socks5"
DEPEND=">=sys-libs/ncurses-5.6-r2
iconv? ( virtual/libiconv )
perl? ( >=dev-lang/perl-5.8.8-r2 )
ssl? ( >=dev-libs/openssl-0.9.8e-r3 )
tcl? ( dev-lang/tcl )
socks5? ( net-proxy/dante )"
# ruby? ( >=dev-lang/ruby-1.8.6_p287-r1 ) # fails at the moment
RDEPEND="${DEPEND}"
src_compile() {
econf \
--libexecdir=/usr/lib/misc \
--without-ruby \
$(use_with iconv) \
$(use_with ipv6) \
$(use_with perl) \
$(use_with ssl) \
$(use_with tcl tcl) \
$(use_with socks5)
# $(use_with ruby) fails at the moment
# parallel build failure
emake -j1 CC="$(tc-getCC)" || die "emake failed"
}
src_install () {
einstall \
sharedir="${D}"/usr/share \
libexecdir="${D}"/usr/lib/misc || die "einstall failed"
dodoc BUG_FORM COPYRIGHT README KNOWNBUGS VOTES || die
cd "${S}"/doc || die
docinto doc
dodoc \
*.txt colors EPIC* IRCII_VERSIONS local_vars missing new-load \
nicknames outputhelp README.SSL SILLINESS TS4 || die
}
|