summaryrefslogtreecommitdiff
blob: 4982c8458d865924b24341fc848613070d7c6507 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="A tool allowing incremental and recursive IMAP transfers between mailboxes"
HOMEPAGE="http://ks.lamiral.info/imapsync/ https://github.com/imapsync/imapsync"
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"

LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}
	dev-perl/Digest-HMAC
	dev-perl/File-Copy-Recursive
	dev-perl/IO-Socket-INET6
	dev-perl/IO-Socket-SSL
	dev-perl/IO-Tee
	dev-perl/Mail-IMAPClient
	dev-perl/Sys-MemInfo
	dev-perl/TermReadKey
	dev-perl/Unicode-String
	virtual/perl-Digest-MD5
	virtual/perl-MIME-Base64"

RESTRICT="test"

S=${WORKDIR}/${PN}-${P}

src_prepare() {
	sed -e "s/^install: testp/install:/" \
		-e "/^DO_IT/,/^$/d" \
		-i "${S}"/Makefile || die

	default
}

src_compile() { :; }