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.
gentoo-overlay/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0....

42 lines
941 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.5.ebuild,v 1.1 2013/07/14 07:31:04 qnikst Exp $
EAPI=5
inherit toolchain-funcs base
DESCRIPTION="Deleted to trash IMAP plugin for Dovecot"
HOMEPAGE="https://github.com/lexbrugman/dovecot_deleted_to_trash"
SRC_URI="http://rion-overlay.googlecode.com/files/dovecot_deleted_to_trash-0.5.tar.bz2"
LICENSE="ZLIB"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
RDEPEND="=net-mail/dovecot-2.1*
!!<net-mail/dovecot-2.1.0
!!<=mail-filter/dovecot_deleted_to_trash-0.3
"
DEPEND="${RDEPEND}
app-arch/unzip
"
PATCHES=( "${FILESDIR}"/fix_names_and_destdir.patch )
#S="${WORKDIR}"
src_compile() {
tc-export CC
base_src_compile
}
src_install() {
base_src_install
insinto /etc/dovecot/conf.d
doins "${FILESDIR}"/29-delete-to-trash.conf
}