diff options
author | Piotr Jaroszyński <peper@gentoo.org> | 2007-11-26 20:12:08 +0000 |
---|---|---|
committer | Piotr Jaroszyński <peper@gentoo.org> | 2007-11-26 20:12:08 +0000 |
commit | 38b0c03577c6f2eb6727469b1860f5f2254ee392 (patch) | |
tree | 76b101c759a95c5a6f065c82f28d5aec2462effa /app-pda/libopensync/libopensync-9999.ebuild | |
parent | stable x86, bug 200329 (diff) | |
download | gentoo-2-38b0c03577c6f2eb6727469b1860f5f2254ee392.tar.gz gentoo-2-38b0c03577c6f2eb6727469b1860f5f2254ee392.tar.bz2 gentoo-2-38b0c03577c6f2eb6727469b1860f5f2254ee392.zip |
Add live svn ebuild.
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'app-pda/libopensync/libopensync-9999.ebuild')
-rw-r--r-- | app-pda/libopensync/libopensync-9999.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-pda/libopensync/libopensync-9999.ebuild b/app-pda/libopensync/libopensync-9999.ebuild new file mode 100644 index 000000000000..cc112f63fd2c --- /dev/null +++ b/app-pda/libopensync/libopensync-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2007 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.1 2007/11/26 20:12:07 peper Exp $ + +inherit cmake-utils eutils subversion + +DESCRIPTION="OpenSync synchronisation framework library" +HOMEPAGE="http://www.opensync.org/" +SRC_URI="" + +ESVN_REPO_URI="http://svn.opensync.org/trunk" + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +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" + +RDEPEND=">=dev-db/sqlite-3 + >=dev-libs/glib-2 + dev-libs/libxml2 + python? ( >=dev-lang/python-2.2 >=dev-lang/swig-1.3.17 )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9.0 + doc? ( app-doc/doxygen )" + +src_compile() { + local mycmakeargs + mycmakeargs="${mycmakeargs} -DCMAKE_SKIP_RPATH=ON" + mycmakeargs="${mycmakeargs} -DOPENSYNC_TRACE=$(use debug && echo ON || echo OFF)" + mycmakeargs="${mycmakeargs} -DOPENSYNC_DEBUG_MODULES=$(use debug && echo ON || echo OFF)" + mycmakeargs="${mycmakeargs} -DOPENSYNC_PYTHONBINDINGS=$(use python && echo ON || echo OFF)" + mycmakeargs="${mycmakeargs} -DBUILD_DOCUMENTATION=$(use doc && echo ON || echo OFF)" + cmake-utils_src_compile + + use doc && doxygen Doxyfile +} + +src_install() { + cmake-utils_src_install + + use doc && dohtml docs/html/* +} + +pkg_postinst() { + elog "Building with 'debug' useflag is highly encouraged" + elog "and requiered for bug reports." + elog "Also see http://www.opensync.org/wiki/tracing" +} |