/[gentoo-x86]/net-libs/libkolab/libkolab-0.5.2.ebuild
Gentoo

Contents of /net-libs/libkolab/libkolab-0.5.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Nov 28 14:13:31 2014 UTC (3 years, 9 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for ppc64, wrt bug #530880

(Portage version: 2.2.8-r2/cvs/Linux x86_64, RepoMan options: --include-arches="ppc64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libkolab/libkolab-0.5.2.ebuild,v 1.4 2014/11/28 14:13:13 ago Exp $
4
5 EAPI=5
6
7 VIRTUALX_REQUIRED="test"
8 inherit kde4-base multilib
9
10 DESCRIPTION="Advanced Kolab Object Handling Library"
11 HOMEPAGE="http://kolab.org"
12 SRC_URI="http://mirror.kolabsys.com/pub/releases/${P}.tar.gz"
13
14 LICENSE="LGPL-2+ LGPL-2.1+ LGPL-3+"
15 SLOT="4"
16 KEYWORDS="amd64 ~arm ppc ppc64 x86"
17 IUSE="php python test"
18
19 # Tests fail, last checked 0.5.2
20 RESTRICT="test"
21
22 DEPEND="
23 $(add_kdebase_dep kdepimlibs 'semantic-desktop(+)')
24 dev-lang/swig
25 >=net-libs/libkolabxml-1.0.0
26 php? ( dev-lang/php )
27 python? ( dev-lang/python )
28
29 "
30 RDEPEND="${DEPEND}"
31
32 src_prepare() {
33 # not installed by upstream
34 sed -e "/add_subdirectory(utils)/d" -i CMakeLists.txt || die
35 kde4-base_src_prepare
36 }
37
38 src_configure() {
39 local mycmakeargs=(
40 -DLIB_INSTALL_DIR=$(get_libdir)
41 $(cmake-utils_use test BUILD_TESTS)
42 $(cmake-utils_use python PYTHON_BINDINGS)
43 $(cmake-utils_use php PHP_BINDINGS)
44 )
45 kde4-base_src_configure
46 }

  ViewVC Help
Powered by ViewVC 1.1.20