diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-05-30 18:24:34 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-05-30 18:24:34 +0000 |
commit | ce5048fbeb0b9f340485e88b8e50bb13473a94ad (patch) | |
tree | 34077d7f69cb6a7232db9c1248963feb1287b2c3 /net-mail/mutt | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-ce5048fbeb0b9f340485e88b8e50bb13473a94ad.tar.gz gentoo-2-ce5048fbeb0b9f340485e88b8e50bb13473a94ad.tar.bz2 gentoo-2-ce5048fbeb0b9f340485e88b8e50bb13473a94ad.zip |
*** empty log message ***
Diffstat (limited to 'net-mail/mutt')
-rw-r--r-- | net-mail/mutt/mutt-1.2.5-r2.ebuild | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/net-mail/mutt/mutt-1.2.5-r2.ebuild b/net-mail/mutt/mutt-1.2.5-r2.ebuild index b9c914d730b1..428c0a43acef 100644 --- a/net-mail/mutt/mutt-1.2.5-r2.ebuild +++ b/net-mail/mutt/mutt-1.2.5-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.2.5-r2.ebuild,v 1.1 2000/12/20 09:45:34 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.2.5-r2.ebuild,v 1.2 2001/05/30 18:24:34 achim Exp $ P=mutt-1.2.5-1 A=mutt-1.2.5i.tar.gz @@ -10,18 +10,33 @@ DESCRIPTION="a small but very powerful text-based mail client" SRC_URI="ftp://ftp.mutt.org/pub/mutt/${A}" HOMEPAGE="http://www.mutt.org" -DEPEND=">=sys-apps/bash-2.04 - >=sys-libs/glibc-2.1.3 - >=sys-libs/slang-1.4.2 - >=dev-libs/openssl-0.9.6" +DEPEND="virtual/glibc + nls? ( sys-devel/gettext ) + >=sys-libs/ncurses-5.2 + slang? ( >=sys-libs/slang-1.4.2 ) + ssl? ( >=dev-libs/openssl-0.9.6 )" + +RDEPEND="virtual/glibc + >=sys-libs/ncurses-5.2 + slang? ( >=sys-libs/slang-1.4.2 ) + ssl? ( >=dev-libs/openssl-0.9.6 )" src_compile() { - cd ${S} + local myconf + if [ -z "`use nls`" ] ; then + myconf="--disable-nls" + fi + if [ "`use ssl`" ] ; then + myconf="$myconf --with-ssl" + fi + if [ "`use slang`" ] ; then + myconf="$myconf --with-slang" + fi + try ./configure --prefix=/usr --sysconfdir=/etc/mutt --host=${CHOST} \ - --with-slang --with-regex --with-catgets \ - --enable-pop --enable-imap --with-ssl --enable-nfs-fix \ - --with-homespool=Maildir + --with-regex --enable-pop --enable-imap --enable-nfs-fix \ + --with-homespool=Maildir $myconf try make } |