Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/libetpan-0.57-r1.ebuild,v 1.2 2010/01/10 18:50:26 a3li Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/libetpan-0.57-r1.ebuild,v 1.2 2010/01/10 18:50:26 a3li Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
7 |
inherit autotools eutils |
8 |
|
5 |
DESCRIPTION="A portable, efficient middleware for different kinds of mail access." |
9 |
DESCRIPTION="A portable, efficient middleware for different kinds of mail access." |
6 |
HOMEPAGE="http://libetpan.sourceforge.net" |
10 |
HOMEPAGE="http://libetpan.sourceforge.net" |
7 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
11 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
Lines 17-31
Link Here
|
17 |
sasl? ( dev-libs/cyrus-sasl ) |
21 |
sasl? ( dev-libs/cyrus-sasl ) |
18 |
liblockfile? ( net-libs/liblockfile )" |
22 |
liblockfile? ( net-libs/liblockfile )" |
19 |
|
23 |
|
20 |
src_unpack() { |
24 |
src_prepare() { |
21 |
unpack ${A} |
25 |
epatch "${FILESDIR}"/${P}-QA.patch |
22 |
cd "${S}" |
26 |
eautoreconf |
23 |
# temp fix for bug #286620, also look for db-4.8, upstream will likely fix |
|
|
24 |
# this in their next release |
25 |
sed -i -e '/db-4.7 db-4.6/s/db-4.7/db-4.8 db-4.7/' configure || die |
26 |
} |
27 |
} |
27 |
|
28 |
|
28 |
src_compile() { |
29 |
src_configure() { |
29 |
local sslconf |
30 |
local sslconf |
30 |
|
31 |
|
31 |
if use ssl; then |
32 |
if use ssl; then |
Lines 57-64
Link Here
|
57 |
$(use_enable liblockfile lockfile) \ |
58 |
$(use_enable liblockfile lockfile) \ |
58 |
${sslconf} \ |
59 |
${sslconf} \ |
59 |
|| die "econf failed" |
60 |
|| die "econf failed" |
60 |
|
|
|
61 |
emake || die "emake failed" |
62 |
} |
61 |
} |
63 |
|
62 |
|
64 |
src_install() { |
63 |
src_install() { |