1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils perl-module
8 # Keep for _rc compability
11 DESCRIPTION="A modular textUI IRC client with IPv6 support"
12 HOMEPAGE="https://irssi.org/"
13 SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz"
17 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
18 IUSE="+perl selinux socks5 +proxy libressl"
23 !libressl? ( dev-libs/openssl:= )
24 libressl? ( dev-libs/libressl:= )
25 perl? ( dev-lang/perl:= )
26 socks5? ( >=net-proxy/dante-1.1.18 )"
34 selinux? ( sec-policy/selinux-irc )
35 perl? ( !net-im/silc-client )"
39 S="${WORKDIR}/${MY_P}"
41 DOCS=( AUTHORS ChangeLog README.md TODO NEWS )
45 --with-perl-lib=vendor \
49 $(use_with socks5 socks)
53 emake DESTDIR="${D}" install
55 use perl && perl_delete_localpod
57 prune_libtool_files --modules