blob: 90d6caf1033ef7049aa0a94c5bac6dc3b47a1578 (
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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/scrollz/scrollz-2.1.ebuild,v 1.5 2010/06/25 17:49:28 armin76 Exp $
EAPI=2
DESCRIPTION="Advanced IRC client based on ircII"
HOMEPAGE="http://packages.qa.debian.org/s/scrollz.html"
SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ia64 ~ppc x86"
IUSE="gmp gnutls ipv6 socks5 ssl"
RDEPEND="sys-libs/ncurses
gmp? ( dev-libs/gmp )
ssl? (
gnutls? ( net-libs/gnutls )
!gnutls? ( dev-libs/openssl )
)"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/${P}.orig
src_configure() {
local _myssl
if use ssl; then
if use gnutls; then
_myssl="--with-ssl"
else
_myssl="--with-openssl"
fi
fi
econf \
--with-default-server=irc.gentoo.org \
$(use_enable socks5) \
$(use_enable ipv6) \
--enable-regexp \
$(use_enable gmp fish) \
${_myssl}
}
src_install() {
einstall \
sharedir="${D}/usr/share" \
mandir="${D}/usr/share/man/man1" || die
dodoc ChangeLog* NEWS README* todo || die
}
|