diff options
author | Cory Visi <merlin@gentoo.org> | 2004-06-29 03:44:22 +0000 |
---|---|---|
committer | Cory Visi <merlin@gentoo.org> | 2004-06-29 03:44:22 +0000 |
commit | 14712cda585438758b0615d0d7b6cdc07e84ea9f (patch) | |
tree | 40ec179cc49a28e0efac73b24db9fdc5163413ed /net-mail/teapop/teapop-0.3.8.ebuild | |
parent | Remove 2.1, add 2.1-r1 to fix bug 55462 (Manifest recommit) (diff) | |
download | gentoo-2-14712cda585438758b0615d0d7b6cdc07e84ea9f.tar.gz gentoo-2-14712cda585438758b0615d0d7b6cdc07e84ea9f.tar.bz2 gentoo-2-14712cda585438758b0615d0d7b6cdc07e84ea9f.zip |
version bump (Bug 33995) and java fix
Diffstat (limited to 'net-mail/teapop/teapop-0.3.8.ebuild')
-rw-r--r-- | net-mail/teapop/teapop-0.3.8.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/net-mail/teapop/teapop-0.3.8.ebuild b/net-mail/teapop/teapop-0.3.8.ebuild new file mode 100644 index 000000000000..ec130d8dcb46 --- /dev/null +++ b/net-mail/teapop/teapop-0.3.8.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.ebuild,v 1.1 2004/06/29 03:44:22 merlin Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Tiny POP3 server" +SRC_URI="ftp://ftp.toontown.org/pub/teapop/${P}.tar.gz" +HOMEPAGE="http://www.toontown.org/teapop/" +DEPEND="virtual/glibc + 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" +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~sparc" + +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}" + + 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 +} |