src_install() {
default
use perl && perl_delete_localpod
- rm -f "${ED}"/usr/$(get_libdir)/irssi/modules/*.{a,la}
+ rm -f "${ED}"/usr/$(get_libdir)/irssi/modules/*.{a,la} || die
}
GENTOO_DEPEND_ON_PERL="no"
-inherit autotools perl-module git-r3 ltprune
+inherit autotools perl-module git-r3
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
HOMEPAGE="https://irssi.org/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
IUSE="otr +perl selinux socks5 +proxy libressl"
-CDEPEND="sys-libs/ncurses:0=
+COMMON_DEPEND="sys-libs/ncurses:0=
>=dev-libs/glib-2.6.0
!libressl? ( dev-libs/openssl:= )
libressl? ( dev-libs/libressl:= )
socks5? ( >=net-proxy/dante-1.1.18 )"
DEPEND="
- ${CDEPEND}
+ ${COMMON_DEPEND}
virtual/pkgconfig
dev-lang/perl
|| (
)"
RDEPEND="
- ${CDEPEND}
+ ${COMMON_DEPEND}
selinux? ( sec-policy/selinux-irc )"
src_prepare() {
}
src_install() {
- emake DESTDIR="${D}" install
+ default
use perl && perl_delete_localpod
- prune_libtool_files --modules
+ rm -f "${ED}"/usr/$(get_libdir)/irssi/modules/*.{a,la} || die
dodoc AUTHORS ChangeLog README.md TODO NEWS
}