summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Portnoy <avenj@gentoo.org>2003-06-08 16:25:53 +0000
committerJon Portnoy <avenj@gentoo.org>2003-06-08 16:25:53 +0000
commitea0b853efa0797e0a359e6d0dbd60104bd14d6d5 (patch)
treee0d27940075d83d7a39a877a86e8bdd31e1dc18f /net-mail/mailutils/mailutils-0.3.1.ebuild
parentVersion bump (diff)
downloadgentoo-2-ea0b853efa0797e0a359e6d0dbd60104bd14d6d5.tar.gz
gentoo-2-ea0b853efa0797e0a359e6d0dbd60104bd14d6d5.tar.bz2
gentoo-2-ea0b853efa0797e0a359e6d0dbd60104bd14d6d5.zip
Version bump
Diffstat (limited to 'net-mail/mailutils/mailutils-0.3.1.ebuild')
-rw-r--r--net-mail/mailutils/mailutils-0.3.1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/net-mail/mailutils/mailutils-0.3.1.ebuild b/net-mail/mailutils/mailutils-0.3.1.ebuild
new file mode 100644
index 000000000000..9d24b8b6df0a
--- /dev/null
+++ b/net-mail/mailutils/mailutils-0.3.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-0.3.1.ebuild,v 1.1 2003/06/08 16:25:38 avenj Exp $
+
+DESCRIPTION="A useful collection of mail servers, clients, and filters."
+HOMEPAGE="http://www.gnu.org/software/mailutils/mailutils.html"
+SRC_URI="http://ftp.gnu.org/gnu/mailutils/${P}.tar.bz2"
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="nls pam mysql gdbm"
+DEPEND="!net-mail/mailx
+ !net-mail/nmh
+ dev-util/guile
+ gdbm? ( sys-libs/gdbm )
+ mysql? ( dev-db/mysql )
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ use pam || myconf="${myconf} --disable-pam"
+
+ use mysql && myconf="${myconf} --enable-mysql"
+
+ use gdbm && myconf="${myconf} --with-gdbm"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/share/info \
+ --sharedstatedir=/var \
+ --mandir=/usr/share/man \
+ --disable-sendmail \
+ ${myconf} || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}