summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2013-05-20 18:17:46 +0200
committerAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2013-05-20 18:17:46 +0200
commited6d7ff8ae96d796e698e957afb690780e2e164f (patch)
tree72925bb0fadd1940fce775b283d71b4df6e3f4e8
parentMerge branch 'master' into ni-experimental (diff)
downloaddilfridge-ni-experimental.tar.gz
dilfridge-ni-experimental.tar.bz2
dilfridge-ni-experimental.zip
[net-mail/isync] Add live ebuildni-experimental
-rw-r--r--net-mail/isync/isync-9999.ebuild42
-rw-r--r--net-mail/isync/metadata.xml5
2 files changed, 47 insertions, 0 deletions
diff --git a/net-mail/isync/isync-9999.ebuild b/net-mail/isync/isync-9999.ebuild
new file mode 100644
index 0000000..5dd7c77
--- /dev/null
+++ b/net-mail/isync/isync-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/isync/isync-1.0.6.ebuild,v 1.3 2013/02/24 11:25:37 ago Exp $
+
+EAPI=5
+
+DESCRIPTION="MailDir mailbox synchronizer"
+HOMEPAGE="http://isync.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="git://isync.git.sourceforge.net/gitroot/isync/isync"
+ GIT_ECLASS="git-2 autotools"
+ KEYWORDS=""
+else
+ SRC_URI="mirror://sourceforge/isync/${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+inherit eutils ${GIT_ECLASS}
+
+IUSE="ssl"
+
+RDEPEND=">=sys-libs/db-4.2
+ ssl? ( >=dev-libs/openssl-0.9.6 )"
+DEPEND="dev-perl/TimeDate
+ ${RDEPEND}"
+
+src_prepare () {
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure () {
+ econf $(use_with ssl)
+}
+
+src_install()
+{
+ emake DESTDIR="${D}" install
+ mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
+}
diff --git a/net-mail/isync/metadata.xml b/net-mail/isync/metadata.xml
new file mode 100644
index 0000000..51f94e3
--- /dev/null
+++ b/net-mail/isync/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+</pkgmetadata>