diff options
author | Robert Piasek <dagger@gentoo.org> | 2010-02-23 12:31:58 +0000 |
---|---|---|
committer | Robert Piasek <dagger@gentoo.org> | 2010-02-23 12:31:58 +0000 |
commit | 5502e3d47b119ab11f6fa464bfed3542ce9d399a (patch) | |
tree | 6cd2a45d6de12fe5fea053c80c653106ff27d7ae /net-libs/libmapi/libmapi-0.9.ebuild | |
parent | Masked libmapi as it depends on masked samba4 (diff) | |
download | historical-5502e3d47b119ab11f6fa464bfed3542ce9d399a.tar.gz historical-5502e3d47b119ab11f6fa464bfed3542ce9d399a.tar.bz2 historical-5502e3d47b119ab11f6fa464bfed3542ce9d399a.zip |
New ebuild for libmapi bug #223821
Package-Manager: portage-2.1.7.17/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libmapi/libmapi-0.9.ebuild')
-rw-r--r-- | net-libs/libmapi/libmapi-0.9.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-libs/libmapi/libmapi-0.9.ebuild b/net-libs/libmapi/libmapi-0.9.ebuild new file mode 100644 index 000000000000..2561a0005d93 --- /dev/null +++ b/net-libs/libmapi/libmapi-0.9.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libmapi/libmapi-0.9.ebuild,v 1.1 2010/02/23 12:31:58 dagger Exp $ + +EAPI="2" + +MY_PN=openchange +MY_P=${MY_PN}-${PV}-COCHRANE + +DESCRIPTION="Portable open-source implementations of Exchange protocols." +HOMEPAGE="http://www.openchange.org/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="python" + +RDEPEND=">=net-fs/samba-4.0.0_alpha11 + dev-lang/python" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + ECONF="--disable-coverage + --disable-swig-perl + $(use_enable python pymapi)" + + econf ${ECONF} +} + +src_compile() { + emake libmapi || die "libmapi compilation failed" + if use python ; then + emake pymapi || die "pymapi compilation failed" + fi +} + +src_install() { + emake DESTDIR="${D}" libmapi-install || die "libmapi install failed" + emake DESTDIR="${D}" libmapixx-install || die "libmapicxx install failed" + + if use python ; then + emake DESTDIR="${D}" pymapi-install || die "pymapi install failed" + fi +} |