# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Sean Mitchell # /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.11 2001/12/06 22:12:34 drobbins Exp # A few notes.... # This package takes C client library portion of the University of Washington's # IMAP distribution and installs it so that other packages that require it (such # as PHP with IMAP support) have it available. It does not install the full # package because it can conflict with other IMAP servers such as Courier-IMAP. S=${WORKDIR}/imap-2001a DESCRIPTION="This is the c-client headers and libraries needed to compile imap support." SRC_URI="ftp://ftp.cac.washington.edu/imap/imap-2001a.tar.Z" HOMEPAGE="http://www.washington.edu/imap" DEPEND="" RDEPEND="" src_compile() { emake slx || die } src_install () { # we're only interested in the c-client stuff, so cd ${S}/c-client mkdir ${D}/usr mkdir ${D}/usr/include mkdir ${D}/usr/include/imap mkdir ${D}/usr/lib cp *.h ${D}/usr/include/imap cp c-client.a ${D}/usr/lib ln -sf c-client.a libc-client.a }