diff options
author | Piotr Jaroszyński <peper@gentoo.org> | 2008-01-27 17:56:09 +0000 |
---|---|---|
committer | Piotr Jaroszyński <peper@gentoo.org> | 2008-01-27 17:56:09 +0000 |
commit | 482ea9eeeed0b3030e9ee27c864edc28108edceb (patch) | |
tree | bffc5b84149c8ca3794f9edd715dd4946148668b /app-pda/libopensync | |
parent | initial import, thanks to Bardur Arantsson <bugs-gentoo.org@scientician.net>,... (diff) | |
download | historical-482ea9eeeed0b3030e9ee27c864edc28108edceb.tar.gz historical-482ea9eeeed0b3030e9ee27c864edc28108edceb.tar.bz2 historical-482ea9eeeed0b3030e9ee27c864edc28108edceb.zip |
Add 0.36.
Package-Manager: portage-2.1.4
Diffstat (limited to 'app-pda/libopensync')
-rw-r--r-- | app-pda/libopensync/ChangeLog | 10 | ||||
-rw-r--r-- | app-pda/libopensync/files/digest-libopensync-0.36 | 3 | ||||
-rw-r--r-- | app-pda/libopensync/libopensync-0.36.ebuild | 71 |
3 files changed, 82 insertions, 2 deletions
diff --git a/app-pda/libopensync/ChangeLog b/app-pda/libopensync/ChangeLog index b1e4d7248fd0..876f1c824e34 100644 --- a/app-pda/libopensync/ChangeLog +++ b/app-pda/libopensync/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-pda/libopensync -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.23 2007/12/23 02:19:16 peper Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.24 2008/01/27 17:39:42 peper Exp $ + +*libopensync-0.36 (27 Jan 2008) + + 27 Jan 2008; Piotr Jaroszyński <peper@gentoo.org> + +libopensync-0.36.ebuild: + Add 0.36. 23 Dec 2007; Piotr Jaroszyński <peper@gentoo.org> libopensync-0.35.ebuild, libopensync-9999.ebuild: diff --git a/app-pda/libopensync/files/digest-libopensync-0.36 b/app-pda/libopensync/files/digest-libopensync-0.36 new file mode 100644 index 000000000000..0eaaa162d7f3 --- /dev/null +++ b/app-pda/libopensync/files/digest-libopensync-0.36 @@ -0,0 +1,3 @@ +MD5 d8cc7835663566e3626e959d8fb531bf libopensync-0.36.tar.bz2 879868 +RMD160 8c4f2b6799c2767e53fc51f17ad95fcfb1e09c70 libopensync-0.36.tar.bz2 879868 +SHA256 c686d27f0818e2d8cc6277ba123c74d7210e70fa2b320c5a828eaaedd598e908 libopensync-0.36.tar.bz2 879868 diff --git a/app-pda/libopensync/libopensync-0.36.ebuild b/app-pda/libopensync/libopensync-0.36.ebuild new file mode 100644 index 000000000000..233eaa5df5b6 --- /dev/null +++ b/app-pda/libopensync/libopensync-0.36.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.36.ebuild,v 1.1 2008/01/27 17:39:42 peper Exp $ + +inherit cmake-utils eutils + +DESCRIPTION="OpenSync synchronisation framework library" +HOMEPAGE="http://www.opensync.org/" +SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2" + +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/cmake-2.4.7 + >=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 + + if use doc ; then + cd "${WORKDIR}/${PN}_build" + doxygen Doxyfile || die "Failed to generate docs." + fi +} + +src_test() { + echo ">>> Test phase [test]: ${CATEGORY}/${PF}" + + pushd "${WORKDIR}/${PN}_build" > /dev/null + + if ! LD_LIBRARY_PATH="${WORKDIR}/${PN}_build/opensync/" emake -j1 test ; then + die "Make test failed. See above for details." + fi + + popd > /dev/null +} + +src_install() { + cmake-utils_src_install + + if use doc ; then + cd "${WORKDIR}/${PN}_build" + dohtml docs/html/* || die "Failed to install docs." + fi +} + +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" +} |