HOMEPAGE="http://znc.in"
LICENSE="Apache-2.0"
SLOT="0"
-IUSE="daemon debug ipv6 libressl perl python ssl sasl tcl test"
+IUSE="daemon debug ipv6 icu libressl perl python ssl sasl tcl test zlib"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
- dev-libs/icu:=
- sys-libs/zlib
+ icu? ( dev-libs/icu:= )
perl? ( >=dev-lang/perl-5.10:= )
python? ( ${PYTHON_DEPS} )
sasl? ( >=dev-libs/cyrus-sasl-2 )
libressl? ( dev-libs/libressl:0= )
)
tcl? ( dev-lang/tcl:0= )
+ zlib? ( sys-libs/zlib )
"
DEPEND="
${RDEPEND}
econf \
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
$(use_enable debug) \
+ $(use_enable icu charset) \
$(use_enable ipv6) \
$(use_enable perl) \
$(use_enable python) \
$(use_enable sasl cyrus) \
$(use_enable ssl openssl) \
$(use_enable tcl) \
+ $(use_enable zlib) \
$(use_with test gtest "${WORKDIR}/googletest-release-${GTEST_VER}")
}