Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
c-client-2001a.ebuild application/octet-stream

Replies

Subject Author
Re: [gentoo-dev] PHP with IMAP support! "F. Kooman" <fkooman@××××××××××.nl>