# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="4" inherit cmake-utils DESCRIPTION="OpenSync SyncML Plugin" HOMEPAGE="http://www.opensync.org/" SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2" KEYWORDS="~amd64 ~ppc ~x86" SLOT="0" LICENSE="LGPL-2.1" IUSE="http +obex" REQUIRED_USE="|| ( http obex )" RDEPEND="~app-pda/libopensync-${PV} dev-libs/glib:2 dev-libs/libxml2 >=app-pda/libsyncml-0.5.0[obex?,http?]" DEPEND="${RDEPEND}" # FIXME: % tests passed, 2 tests failed out of 2 RESTRICT="test" src_configure() { DOCS="AUTHORS" local mycmakeargs=" $(cmake-utils_use_enable http HTTP) $(cmake-utils_use_enable obex OBEX)" cmake-utils_src_configure }