summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-05-15 21:26:47 +0000
committerAchim Gottinger <achim@gentoo.org>2001-05-15 21:26:47 +0000
commitfe801904539f35693204f5b90287541c8d5f8a18 (patch)
treea8c478e13bfa9aaae94b176b7f5b5091a8fff70f /net-mail/pine
parentUpdated version that works with glibc-2.2.2 (diff)
downloadgentoo-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')
-rw-r--r--net-mail/pine/pine-4.33.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/net-mail/pine/pine-4.33.ebuild b/net-mail/pine/pine-4.33.ebuild
index d4fb77facdbe..68cd2d11bd0a 100644
--- a/net-mail/pine/pine-4.33.ebuild
+++ b/net-mail/pine/pine-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/pine-4.33.ebuild,v 1.1 2001/04/29 23:40:14 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/pine/pine-4.33.ebuild,v 1.2 2001/05/15 21:26:47 achim Exp $
A=pine4.33.tar.gz
S=${WORKDIR}/pine4.33
@@ -13,6 +13,10 @@ DEPEND="virtual/glibc
>=sys-libs/ncurses-5.1
>=sys-libs/pam-0.72"
+if [ "`use imap`" ] ; then
+ PROVIDE="virtual/imap"
+fi
+
src_unpack() {
unpack ${A}
@@ -37,7 +41,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