summaryrefslogtreecommitdiff
blob: 1a098e1de3f2b55d12d31c84d0fe5b1eabf4d133 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/imapsync/imapsync-1.171-r1.ebuild,v 1.2 2006/08/25 21:35:47 langthang Exp $

inherit eutils

DESCRIPTION="A tool allowing incremental and recursive imap transfer from one mailbox to another."
HOMEPAGE="http://www.linux-france.org/prj/"
SRC_URI="http://www.linux-france.org/prj/imapsync/dist/${P}.tgz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=dev-perl/Mail-IMAPClient-2.1.4"

RDEPEND="${DEPEND}
	perl-core/Digest-MD5
	dev-perl/Net-SSLeay
	perl-core/MIME-Base64
	dev-perl/TermReadKey
	dev-perl/IO-Socket-SSL"

RESTRICT="test"

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch "${FILESDIR}/${P}-gentoo.patch"
}

src_install() {
	make install DESTDIR=${D} || die "make failed"
	dobin imapsync

	dodoc CREDITS ChangeLog FAQ README TODO || \
		die "dodoc failed"

}