summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2004-12-09 23:38:48 +0000
committerAndrej Kacian <ticho@gentoo.org>2004-12-09 23:38:48 +0000
commit7e07f12c0bbb3b9de929ed6ca33316309a173ca9 (patch)
treea1e9d6ea0f2fc3ee2ee8feeb2602c20fb5a865a6 /net-mail/teapop/teapop-0.3.8-r1.ebuild
parentInitial import, bug 62771. (Manifest recommit) (diff)
downloadgentoo-2-7e07f12c0bbb3b9de929ed6ca33316309a173ca9.tar.gz
gentoo-2-7e07f12c0bbb3b9de929ed6ca33316309a173ca9.tar.bz2
gentoo-2-7e07f12c0bbb3b9de929ed6ca33316309a173ca9.zip
Revision bump, add a virtual USE flag. Closes #65821.
Diffstat (limited to 'net-mail/teapop/teapop-0.3.8-r1.ebuild')
-rw-r--r--net-mail/teapop/teapop-0.3.8-r1.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/net-mail/teapop/teapop-0.3.8-r1.ebuild b/net-mail/teapop/teapop-0.3.8-r1.ebuild
new file mode 100644
index 000000000000..fb212a447c36
--- /dev/null
+++ b/net-mail/teapop/teapop-0.3.8-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/teapop/teapop-0.3.8-r1.ebuild,v 1.1 2004/12/09 23:38:48 ticho Exp $
+
+DESCRIPTION="Tiny POP3 server"
+SRC_URI="ftp://ftp.toontown.org/pub/teapop/${P}.tar.gz"
+HOMEPAGE="http://www.toontown.org/teapop/"
+DEPEND="virtual/libc
+ mysql? ( >=dev-db/mysql-3.23.51 )
+ postgres? ( >=dev-db/postgresql-7.0 )
+ ldap? ( >=net-nds/openldap-2.0.25 )
+ tcpd? ( sys-apps/tcp-wrappers )
+ java? ( virtual/jre )"
+IUSE="mysql postgres ldap ipv6 tcpd java virtual"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~sparc ~ppc"
+
+src_compile() {
+ local myconf
+ use mysql && myconf="${myconf} --with-mysql=/usr"
+ use postgres && myconf="${myconf} --with-pgsql=/usr"
+ use ldap && myconf="${myconf} --with-ldap=openldap"
+ use java && myconf="${myconf} --with-java=${JAVA_HOME}"
+ use virtual || myconf="${myconf} --disable-vpop"
+
+ econf \
+ --enable-lock=flock,dotlock \
+ --enable-homespool=mail \
+ --enable-mailspool=/var/spool/mail \
+ --enable-apop \
+ $( use_enable ipv6 ) \
+ $( use_with tcpd ) \
+ ${myconf} || die "./configure failed"
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dodir /usr/sbin
+ mv ${D}/usr/libexec/teapop ${D}/usr/sbin/
+
+ dodoc doc/{CREDITS,ChangeLog,INSTALL,TODO}
+
+ docinto contrib
+ dodoc contrib/{README,popauther3.pl,teapop+exim.txt}
+ dohtml contrib/*.html
+
+ docinto rfc
+ dodoc rfc/rfc*.txt
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/teapop-init teapop
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/teapop-confd teapop
+}