summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-07 06:56:32 +0000
committerSam James <sam@gentoo.org>2021-06-07 07:13:56 +0000
commitf35a7a7604140062a2edba6efd2c94ab54866120 (patch)
tree4f747f32e1f2fe9ac43e39d7339e76ce72c4111a /net-mail/isync/isync-1.4.2.ebuild
parentnet-mail/isync: add 1.3.6 (diff)
downloadgentoo-f35a7a7604140062a2edba6efd2c94ab54866120.tar.gz
gentoo-f35a7a7604140062a2edba6efd2c94ab54866120.tar.bz2
gentoo-f35a7a7604140062a2edba6efd2c94ab54866120.zip
net-mail/isync: add 1.4.2
Bug: https://bugs.gentoo.org/794772 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail/isync/isync-1.4.2.ebuild')
-rw-r--r--net-mail/isync/isync-1.4.2.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-mail/isync/isync-1.4.2.ebuild b/net-mail/isync/isync-1.4.2.ebuild
new file mode 100644
index 000000000000..07b35974fe65
--- /dev/null
+++ b/net-mail/isync/isync-1.4.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="MailDir mailbox synchronizer"
+HOMEPAGE="http://isync.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/${PN}"
+ inherit git-r3 autotools
+else
+ SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+IUSE="berkdb sasl ssl zlib"
+
+RDEPEND="
+ berkdb? ( >=sys-libs/db-4.2:= )
+ sasl? ( dev-libs/cyrus-sasl )
+ ssl? ( >=dev-libs/openssl-0.9.6:0= )
+ zlib? ( sys-libs/zlib:0= )
+"
+DEPEND=${RDEPEND}
+BDEPEND="
+ dev-lang/perl
+"
+
+src_prepare() {
+ default
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ use berkdb || export ac_cv_berkdb4=no
+ econf \
+ $(use_with ssl) \
+ $(use_with sasl) \
+ $(use_with zlib)
+}