summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/libopensync/libopensync-9999.ebuild')
-rw-r--r--app-pda/libopensync/libopensync-9999.ebuild36
1 files changed, 15 insertions, 21 deletions
diff --git a/app-pda/libopensync/libopensync-9999.ebuild b/app-pda/libopensync/libopensync-9999.ebuild
index 1d66b83934fa..8eca1d980e00 100644
--- a/app-pda/libopensync/libopensync-9999.ebuild
+++ b/app-pda/libopensync/libopensync-9999.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.5 2009/06/05 11:42:55 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.6 2009/11/15 22:02:52 eva Exp $
-inherit cmake-utils eutils subversion
+inherit cmake-utils subversion
DESCRIPTION="OpenSync synchronisation framework library"
HOMEPAGE="http://www.opensync.org/"
@@ -10,46 +10,40 @@ SRC_URI=""
ESVN_REPO_URI="http://svn.opensync.org/trunk"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"
LICENSE="LGPL-2.1"
-IUSE="debug doc python"
-
-# Tests don't pass
-#>=dev-libs/check-0.9.2
-#mycmakeargs="${mycmakeargs} -DOPENSYNC_UNITTESTS=ON"
-RESTRICT="test"
+IUSE="doc python test"
RDEPEND=">=dev-db/sqlite-3
- >=dev-libs/glib-2
+ >=dev-libs/glib-2.12
dev-libs/libxml2
python? ( >=dev-lang/python-2.2 )"
DEPEND="${RDEPEND}
- python? ( >=dev-lang/swig-1.3.17 )
>=dev-util/pkgconfig-0.9.0
- doc? ( app-doc/doxygen )"
+ doc? ( app-doc/doxygen )
+ python? ( >=dev-lang/swig-1.3.17 )
+ test? ( >=dev-libs/check-0.9.2 )"
src_compile() {
- local mycmakeargs
- mycmakeargs="${mycmakeargs} -DCMAKE_SKIP_RPATH=ON
- $(cmake-utils_use debug OPENSYNC_TRACE)
- $(cmake-utils_use debug OPENSYNC_DEBUG_MODULES)
- $(cmake-utils_use python OPENSYNC_PYTHONBINDINGS)
+ DOCS="AUTHORS CODING ChangeLog README"
+
+ local mycmakeargs="
+ -DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use_enable python WRAPPER)
$(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use test OPENSYNC_UNITTESTS)
"
cmake-utils_src_compile
if use doc ; then
- cd "${CMAKE_BUILD_DIR}"
- doxygen Doxyfile || die "Failed to generate docs."
+ cmake-utils_src_make DoxygenDoc || die "Failed to generate docs."
fi
}
src_test() {
- echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
-
pushd "${CMAKE_BUILD_DIR}" > /dev/null
if ! LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}/opensync/" emake -j1 test ; then