summaryrefslogtreecommitdiff
blob: f7d9060c003be094e6c65c7f6785f74fff8d8157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="a mail handling library"
HOMEPAGE="http://libmail.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE="debug profile"

DEPEND=">=dev-libs/cyrus-sasl-2"
RDEPEND="${DEPEND}"


src_compile() {
	econf \
		$(use_enable debug) \
		$(use_enable profile)
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
	dodoc README ChangeLog AUTHORS NEWS TODO || die "dodoc failed"
}