net-irc/irssi: Update live ebuild

Package-Manager: portage-2.2.26
This commit is contained in:
Sven Wegener
2016-03-13 22:36:58 +00:00
parent bedbe2b01f
commit 1cb6251a0d
+16 -11
View File
@@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI="6"
inherit autotools perl-module git-r3
@@ -15,20 +15,26 @@ SLOT="0"
KEYWORDS=""
IUSE="ipv6 +perl selinux ssl socks5 +proxy libressl"
CDEPEND="sys-libs/ncurses
CDEPEND="sys-libs/ncurses:0=
>=dev-libs/glib-2.6.0
ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) )
ssl? (
!libressl? ( dev-libs/openssl:= )
libressl? ( dev-libs/libressl:= )
)
perl? ( dev-lang/perl )
socks5? ( >=net-proxy/dante-1.1.18 )"
DEPEND="${CDEPEND}
DEPEND="
${CDEPEND}
virtual/pkgconfig
>=sys-devel/autoconf-2.58
dev-lang/perl
|| (
www-client/lynx
www-client/elinks
)"
RDEPEND="${CDEPEND}
RDEPEND="
${CDEPEND}
selinux? ( sec-policy/selinux-irc )
perl? ( !net-im/silc-client )"
@@ -36,6 +42,7 @@ src_prepare() {
sed -i -e /^autoreconf/d autogen.sh || die
NOCONFIGURE=1 ./autogen.sh || die
eapply_user
eautoreconf
}
@@ -44,6 +51,7 @@ src_configure() {
--with-ncurses="${EPREFIX}"/usr \
--with-perl-lib=vendor \
--enable-static \
--enable-true-color \
$(use_with proxy) \
$(use_with perl) \
$(use_with socks5 socks) \
@@ -52,10 +60,7 @@ src_configure() {
}
src_install() {
emake \
DESTDIR="${D}" \
docdir="${EPREFIX}"/usr/share/doc/${PF} \
install
emake DESTDIR="${D}" install
use perl && perl_delete_localpod