/[gentoo-x86]/net-libs/libmapi/libmapi-0.9.ebuild
Gentoo

Contents of /net-libs/libmapi/libmapi-0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Feb 23 12:31:58 2010 UTC (4 years, 10 months ago) by dagger
Branch: MAIN
New ebuild for libmapi bug #223821
(Portage version: 2.1.7.17/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="2"
6
7 MY_PN=openchange
8 MY_P=${MY_PN}-${PV}-COCHRANE
9
10 DESCRIPTION="Portable open-source implementations of Exchange protocols."
11 HOMEPAGE="http://www.openchange.org/"
12 SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS=""
17 IUSE="python"
18
19 RDEPEND=">=net-fs/samba-4.0.0_alpha11
20 dev-lang/python"
21
22 DEPEND="${RDEPEND}"
23
24 S=${WORKDIR}/${MY_P}
25
26 src_configure() {
27 ECONF="--disable-coverage
28 --disable-swig-perl
29 $(use_enable python pymapi)"
30
31 econf ${ECONF}
32 }
33
34 src_compile() {
35 emake libmapi || die "libmapi compilation failed"
36 if use python ; then
37 emake pymapi || die "pymapi compilation failed"
38 fi
39 }
40
41 src_install() {
42 emake DESTDIR="${D}" libmapi-install || die "libmapi install failed"
43 emake DESTDIR="${D}" libmapixx-install || die "libmapicxx install failed"
44
45 if use python ; then
46 emake DESTDIR="${D}" pymapi-install || die "pymapi install failed"
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20