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.
55 lines
1.2 KiB
55 lines
1.2 KiB
7 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
13 years ago
|
inherit eutils autotools
|
||
|
|
||
|
DESCRIPTION="CONE: COnsole News reader and Emailer"
|
||
|
HOMEPAGE="http://www.courier-mta.org/cone/"
|
||
|
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||
|
IUSE="crypt fam gnutls idn ipv6 ldap"
|
||
13 years ago
|
|
||
7 years ago
|
RDEPEND=">=dev-libs/openssl-0.9.6:*
|
||
13 years ago
|
dev-libs/libxml2
|
||
7 years ago
|
sys-libs/ncurses:=
|
||
|
>=net-libs/courier-unicode-1.2
|
||
|
app-text/aspell
|
||
13 years ago
|
crypt? ( >=app-crypt/gnupg-1.0.4 )
|
||
|
fam? ( virtual/fam )
|
||
|
gnutls? ( net-libs/gnutls )
|
||
|
idn? ( net-dns/libidn )
|
||
|
ipv6? ( net-dns/libidn )
|
||
7 years ago
|
ldap? ( net-nds/openldap )"
|
||
13 years ago
|
DEPEND="${RDEPEND}
|
||
|
dev-lang/perl"
|
||
|
|
||
|
src_prepare() {
|
||
7 years ago
|
default
|
||
13 years ago
|
|
||
|
# move local macro to m4 and run eautoreconf
|
||
|
mkdir "${S}/m4"
|
||
|
sed -n -e '/# AC_PROG_SYSCONFTOOL/,+33 p' "${S}"/aclocal.m4 > \
|
||
|
m4/sysconftool.m4 || die
|
||
|
sed -i -e '/^SUBDIRS/i ACLOCAL_AMFLAGS = -I m4' "${S}"/Makefile.am || die
|
||
7 years ago
|
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
7 years ago
|
--with-spellcheck=aspell \
|
||
13 years ago
|
$(use_with ldap ldapaddressbook) \
|
||
|
$(use_with gnutls) \
|
||
|
$(use_with idn libidn) \
|
||
|
$(use_with ipv6)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
emake DESTDIR="${D}" install-configure
|
||
|
}
|