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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Aug 10 20:49:26 2014 UTC (5 years, 11 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 slyfox 1.2 # Copyright 1999-2014 Gentoo Foundation
2 dagger 1.1 # Distributed under the terms of the GNU General Public License v2
3 slyfox 1.2 # $Header: /var/cvsroot/gentoo-x86/net-libs/libmapi/libmapi-1.0.ebuild,v 1.1 2012/10/10 14:24:38 dagger Exp $
4 dagger 1.1
5     EAPI="4"
6     PYTHON_DEPEND="python? *"
7    
8     inherit autotools eutils python
9    
10     MY_PN=openchange
11     MY_P=${MY_PN}-${PV}-BORG
12    
13 slyfox 1.2 DESCRIPTION="Portable open-source implementations of Exchange protocols"
14 dagger 1.1 HOMEPAGE="http://www.openchange.org/"
15     SRC_URI="http://tracker.openchange.org/attachments/download/180/${MY_P}.tar.gz"
16    
17     LICENSE="GPL-3"
18     SLOT="0"
19     KEYWORDS="~amd64"
20     IUSE="python"
21    
22     RDEPEND=">=net-fs/samba-4.0.0_rc2
23     dev-libs/boost
24     python? ( dev-lang/python )"
25    
26     DEPEND="${RDEPEND}"
27    
28     S=${WORKDIR}/${MY_P}
29    
30     src_prepare() {
31     epatch "${FILESDIR}"/"${MY_P}"-python-location-fix.patch
32     epatch "${FILESDIR}"/"${MY_P}"-fix-soname-QA.patch
33     eaclocal
34     eautoconf
35     }
36     src_configure() {
37     ECONF="--disable-coverage
38     $(use_enable python pymapi)"
39    
40     econf ${ECONF}
41     }
42    
43     src_compile() {
44     emake libmapi libmapixx || die "libmapi compilation failed"
45     }
46    
47     src_install() {
48     emake DESTDIR="${D}" libmapi-install libmapixx-install || die "libmapi install failed"
49    
50     if use python ; then
51     emake DESTDIR="${D}" python-install || die "pymapi install failed"
52     fi
53     }

  ViewVC Help
Powered by ViewVC 1.1.20