diff options
author | 2005-02-18 22:39:59 +0000 | |
---|---|---|
committer | 2005-02-18 22:39:59 +0000 | |
commit | a5cd569cea0b78c49f43805a42456f2640c5f662 (patch) | |
tree | 71fb51782b860f35e96ce8a26d88c124cf0b0432 /dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.2.12.ebuild | |
parent | Fix bug when installing documentation. (diff) | |
download | historical-a5cd569cea0b78c49f43805a42456f2640c5f662.tar.gz historical-a5cd569cea0b78c49f43805a42456f2640c5f662.tar.bz2 historical-a5cd569cea0b78c49f43805a42456f2640c5f662.zip |
version bump.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.2.12.ebuild')
-rw-r--r-- | dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.2.12.ebuild | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.2.12.ebuild b/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.2.12.ebuild new file mode 100644 index 000000000000..b3528e5c0e3d --- /dev/null +++ b/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.2.12.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.2.12.ebuild,v 1.1 2005/02/18 22:39:59 langthang Exp $ + +inherit eutils gnuconfig + +DESCRIPTION="Developer support for the Cyrus IMAP Server." +HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" +SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc ~sparc" +IUSE="afs kerberos snmp ssl tcpd" + +RDEPEND="virtual/libc + >=sys-libs/db-3.2 + >=dev-libs/cyrus-sasl-2.1.12 + afs? ( >=net-fs/openafs-1.2.2 ) + kerberos? ( >=app-crypt/mit-krb5-1.2.6 ) + snmp? ( virtual/snmp ) + ssl? ( >=dev-libs/openssl-0.9.6 ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" + +DEPEND="${RDEPEND} + sys-devel/libtool + >=sys-devel/autoconf-2.58 + sys-devel/automake + >=sys-apps/sed-4" + +S="${WORKDIR}/cyrus-imapd-${PV}" + +src_unpack() { + unpack ${A} && cd "${S}" + + # Add libwrap defines as we don't have a dynamicly linked library. + if use tcpd ; then + epatch "${FILESDIR}/cyrus-imapd-libwrap.patch" || die "patch failed" + fi + + # DB4 detection and versioned symbols. + #epatch "${FILESDIR}/cyrus-imapd-${PV}-db4.patch" || die "patch failed." + + # Recreate configure. + export WANT_AUTOCONF="2.5" + gnuconfig_update + ebegin "Recreating configure" + rm -rf configure config.h.in autom4te.cache || die + sh SMakefile &>/dev/null || die "SMakefile failed" + eend $? + + # When linking with rpm, you need to link with more libraries. + sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" -i configure || die "sed failed" +} + +src_compile() { + local myconf + myconf="${myconf} `use_with afs`" + myconf="${myconf} `use_with ssl openssl`" + myconf="${myconf} `use_with snmp ucdsnmp`" + myconf="${myconf} `use_with tcpd libwrap`" + myconf="${myconf} `use_enable kerberos gssapi`" + + econf \ + --enable-murder \ + --enable-listext \ + --enable-netscapehack \ + --with-cyrus-group=mail \ + --with-com_err=yes \ + --with-auth=unix \ + --without-perl \ + --disable-cyradm \ + ${myconf} || die "econf failed" + + emake -C "${S}/lib" all || die "compile problem" +} + +src_install() { + dodir /usr/include/cyrus + + make -C "${S}/lib" DESTDIR="${D}" install || die "make install failed" + dodoc COPYRIGHT README* +} |