You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/mpop/mpop-1.2.4.ebuild

53 lines
1.1 KiB

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="A small, fast, and portable POP3 client"
HOMEPAGE="http://mpop.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="gnutls idn libressl libsecret nls sasl ssl vim-syntax"
RDEPEND="
idn? ( net-dns/libidn )
libsecret? ( app-crypt/libsecret )
nls? ( virtual/libintl )
sasl? ( virtual/gsasl )
ssl? (
gnutls? ( net-libs/gnutls )
!gnutls? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)
)"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/pkgconfig"
REQUIRED_USE="gnutls? ( ssl )"
DOCS="AUTHORS ChangeLog NEWS NOTES README THANKS"
src_configure() {
econf \
$(use_enable nls) \
$(use_with ssl ssl $(usex gnutls "gnutls" "openssl")) \
$(use_with sasl libgsasl) \
$(use_with idn libidn) \
$(use_with libsecret )
}
src_install() {
default
if use vim-syntax ; then
insinto /usr/share/vim/vimfiles/syntax
doins scripts/vim/mpop.vim
fi
}