diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-05-15 21:26:47 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-05-15 21:26:47 +0000 |
commit | fe801904539f35693204f5b90287541c8d5f8a18 (patch) | |
tree | a8c478e13bfa9aaae94b176b7f5b5091a8fff70f /net-mail/pine-maildir | |
parent | Updated version that works with glibc-2.2.2 (diff) | |
download | gentoo-2-fe801904539f35693204f5b90287541c8d5f8a18.tar.gz gentoo-2-fe801904539f35693204f5b90287541c8d5f8a18.tar.bz2 gentoo-2-fe801904539f35693204f5b90287541c8d5f8a18.zip |
Added installation of imap headers and c-client.a if the USE variable
imap is set
Diffstat (limited to 'net-mail/pine-maildir')
-rw-r--r-- | net-mail/pine-maildir/pine-maildir-4.33.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net-mail/pine-maildir/pine-maildir-4.33.ebuild b/net-mail/pine-maildir/pine-maildir-4.33.ebuild index 55eb7e29c416..233518bf082e 100644 --- a/net-mail/pine-maildir/pine-maildir-4.33.ebuild +++ b/net-mail/pine-maildir/pine-maildir-4.33.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/pine-maildir/pine-maildir-4.33.ebuild,v 1.1 2001/05/15 20:49:11 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/pine-maildir/pine-maildir-4.33.ebuild,v 1.2 2001/05/15 21:26:47 achim Exp $ A="pine4.33.tar.gz pine-maildir-4.33" S=${WORKDIR}/pine4.33 @@ -15,6 +15,9 @@ DEPEND="virtual/glibc >=sys-libs/ncurses-5.1 >=sys-libs/pam-0.72" +if [ "`use imap`" ] ; then + PROVIDE="virtual/imap" +fi src_unpack() { unpack pine4.33.tar.gz patch -p0 < ${DISTDIR}/pine-maildir-4.33 @@ -39,7 +42,11 @@ src_install() { into /usr dobin bin/pine bin/pico bin/pilot bin/mtest dosbin bin/imapd - + if [ "`use imap`" ] ; then + insinto /usr/include + doins imap/c-client/{mail,imap4r1,rfc822,linkage}.h + dolib.a imap/c-client/c-client.a + fi doman doc/pico.1 doc/pine.1 insinto /etc |