/[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.1 - (hide annotations) (download)
Wed Oct 10 14:24:38 2012 UTC (7 years, 9 months ago) by dagger
Branch: MAIN
Update libmapi to 1.0 release

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 dagger 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
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     DESCRIPTION="Portable open-source implementations of Exchange protocols."
14     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