summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-03-05 12:31:44 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-03-05 12:31:44 +0000
commit06d428f928d65dca29d9e4b636bd5e6e16936830 (patch)
tree1d7dd7be6346f4d41925aeca50cf8514fa099977 /net-mail
parentStable on x86, bug #169152. (diff)
downloadgentoo-2-06d428f928d65dca29d9e4b636bd5e6e16936830.tar.gz
gentoo-2-06d428f928d65dca29d9e4b636bd5e6e16936830.tar.bz2
gentoo-2-06d428f928d65dca29d9e4b636bd5e6e16936830.zip
version bump cause its cool
(Portage version: 2.1.2-r11)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/freepops/files/digest-freepops-0.2.03
-rw-r--r--net-mail/freepops/freepops-0.2.0.ebuild48
2 files changed, 51 insertions, 0 deletions
diff --git a/net-mail/freepops/files/digest-freepops-0.2.0 b/net-mail/freepops/files/digest-freepops-0.2.0
new file mode 100644
index 000000000000..ac35d94b5320
--- /dev/null
+++ b/net-mail/freepops/files/digest-freepops-0.2.0
@@ -0,0 +1,3 @@
+MD5 b91472f67a8c2b2cc855fd8ae1988577 freepops-0.2.0.tar.gz 1782970
+RMD160 7291e7e8166baab92bd7480d6ba8e0f40c14a84e freepops-0.2.0.tar.gz 1782970
+SHA256 4e24595050efad0c5df40cb9286e8fea8aabfbeeca6cf7d6387f23ac8b60db5d freepops-0.2.0.tar.gz 1782970
diff --git a/net-mail/freepops/freepops-0.2.0.ebuild b/net-mail/freepops/freepops-0.2.0.ebuild
new file mode 100644
index 000000000000..bcd7d7353ebf
--- /dev/null
+++ b/net-mail/freepops/freepops-0.2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/freepops/freepops-0.2.0.ebuild,v 1.1 2007/03/05 12:31:44 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="WebMail->POP3 converter and more"
+HOMEPAGE="http://freepops.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freepops/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gnutls"
+
+RDEPEND=">=net-misc/curl-7.10.8
+ gnutls? ( net-libs/gnutls
+ dev-libs/libgcrypt )
+ !gnutls? ( dev-libs/openssl )
+ >=dev-lang/lua-5.1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e '/pkg-config lua/s/5.1//g' configure.sh
+}
+
+src_compile() {
+ # note fbsd and Darwin and osx targets exist here too
+ if use gnutls; then
+ ./configure.sh linux-gnutls -lua || die "configure gnutls failed"
+ sed -i -e '/^WHERE=/s/=.*$/=\/usr\//' config
+ else
+ ./configure.sh linux-slack -lua || die "configure openssl failed"
+ fi
+ emake -j1 all || die "make failed"
+}
+
+src_install() {
+ emake -j1 install DESTDIR="${D}" || die
+ dodoc AUTHORS README ChangeLog TODO \
+ "${D}"/usr/share/doc/${PN}/*
+ rm -rf "${D}"/usr/share/doc/${PN}
+ chmod a+x "${D}"/usr/bin/freepops-updater-dialog
+
+ newinitd buildfactory/freePOPsd.initd freepopsd
+ newconfd buildfactory/freePOPsd.confd freepopsd
+}