Gentoo Archives: gentoo-dev

From: "F. Kooman" <fkooman@××××××××××.nl>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] PHP with IMAP support!
Date: Fri, 15 Feb 2002 15:07:18
Message-Id: 20020215210043.327D410287@calcium.tuxed.net
In Reply to: [gentoo-dev] PHP with IMAP support! by Sean Mitchell
1 On Friday 15 February 2002 21:30, you wrote:
2 > Hi All....
3 >
4 > I've posted here before about this but got no comments. Attached is an
5 > ebuild for c-client-2001a, which is equivalent to the imap-devel rpm for
6 > RedHat.
7 >
8 > After emerging it and setting the "imap" use variable I re-emerged php and
9 > voila! IMAP support in php (TWIG worked!).
10 >
11 > I haven't done anything about SSL support yet, and it's not the greatest
12 > ebuild ever, but it seems to scratch and itch many of us had.
13 >
14 > If you have any feedback for this ebuild please email me at
15 > sean@××××××××××.org as I will be submitting it to bugzilla early next week.
16 > (Got to do some more testing)
17 >
18 > Sean
19 >
20 > -----------------------------------------------------------
21 > # Copyright 1999-2001 Gentoo Technologies, Inc.
22 > # Distributed under the terms of the GNU General Public License, v2 or
23 > later # Maintainer: Sean Mitchell <sean@××××××××××.org>
24 > # /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.11 2001/12/06 22:12:34
25 > drobbins Exp
26 >
27 > # A few notes....
28 >
29 > # This package takes C client library portion of the University of
30 > Washington's
31 > # IMAP distribution and installs it so that other packages that require it
32 > (such
33 > # as PHP with IMAP support) have it available. It does not install the full
34 > # package because it can conflict with other IMAP servers such as
35 > Courier-IMAP.
36 >
37 >
38 > S=${WORKDIR}/imap-2001a
39 >
40 > DESCRIPTION="This is the c-client headers and libraries needed to compile
41 > imap support."
42 > SRC_URI="ftp://ftp.cac.washington.edu/imap/imap-2001a.tar.Z"
43 >
44 > HOMEPAGE="http://www.washington.edu/imap"
45 > DEPEND=""
46 > RDEPEND=""
47 >
48 >
49 > src_compile()
50 > {
51 > emake slx || die
52 > }
53 >
54 > src_install ()
55 > {
56 > # we're only interested in the c-client stuff, so
57 > cd ${S}/c-client
58 >
59 > mkdir ${D}/usr
60 > mkdir ${D}/usr/include
61 > mkdir ${D}/usr/include/imap
62 > mkdir ${D}/usr/lib
63 >
64 > cp *.h ${D}/usr/include/imap
65 > cp c-client.a ${D}/usr/lib
66 > ln -sf c-client.a libc-client.a
67 > }
68
69
70 Thank you very much! It's working perfectly over here...finally mail is
71 working in phpGroupware :)
72
73 Regards,
74
75 F. Kooman