Skip to content

Commit

Permalink
Added isync ebuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Christophe Petkovich committed Jul 20, 2013
1 parent 05a2dd8 commit 9d62207
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-mail/isync/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EBUILD isync-9999.ebuild 925 SHA256 2068611884e5cf6f9d105487a2a662506db871ecc3258e1b471e04bd22ede48d SHA512 a542887b2b8930c10a7876446a6752762aed26b4f8231f7a6e2d89057b82701e9643717d9af15524d570113860d940d62efe6503775633f325d4ff86cf7bfb29 WHIRLPOOL a1ab0aaeb678b1c44c4733bdc27ba4e2b442700666fdeba877f2e9cc415d3df9012b7d9b98fb906894da5786da3ca0cbdec13c704aa3e8fdb81e9e698401afd8
42 changes: 42 additions & 0 deletions net-mail/isync/isync-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

DESCRIPTION="MailDir mailbox synchronizer git version."
HOMEPAGE="http://isync.sourceforge.net/"
LICENSE="GPL-2"

EGIT_REPO_URI="git://git.code.sf.net/p/isync/isync.git"
SRC_URI=""

inherit eutils git-2

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

RDEPEND=">=sys-libs/db-4.2
ssl? ( >=dev-libs/openssl-0.9.6 )"

DEPEND="${RDEPEND}
"

src_prepare () {
# Don't need the changelog, or Date::Parse
sed -i '/Makefile/d' autogen.sh || die "Could not remove make log call from autogen.sh."
sed -i '/LOG_PL/,/perl -e/d' Makefile.am || die "Could not remove LOG_PL and related make target."
touch ChangeLog
./autogen.sh
}

src_configure () {
econf $(use_with ssl)
}

src_install()
{
emake DESTDIR="${D}" install
mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
}

0 comments on commit 9d62207

Please sign in to comment.