summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jaroszyński <peper@gentoo.org>2007-02-12 20:54:36 +0000
committerPiotr Jaroszyński <peper@gentoo.org>2007-02-12 20:54:36 +0000
commit99a8fb5429be2afd26d9d32d447af99d60ba44a5 (patch)
tree1e84dee3c562cd5a39293f0ddc3fcc944e59023c /app-pda/libsyncml
parentVersion bump. (diff)
downloadgentoo-2-99a8fb5429be2afd26d9d32d447af99d60ba44a5.tar.gz
gentoo-2-99a8fb5429be2afd26d9d32d447af99d60ba44a5.tar.bz2
gentoo-2-99a8fb5429be2afd26d9d32d447af99d60ba44a5.zip
Version bump.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'app-pda/libsyncml')
-rw-r--r--app-pda/libsyncml/ChangeLog8
-rw-r--r--app-pda/libsyncml/files/digest-libsyncml-0.4.33
-rw-r--r--app-pda/libsyncml/libsyncml-0.4.3.ebuild76
3 files changed, 86 insertions, 1 deletions
diff --git a/app-pda/libsyncml/ChangeLog b/app-pda/libsyncml/ChangeLog
index d33bc77efdb1..b60ade249c6c 100644
--- a/app-pda/libsyncml/ChangeLog
+++ b/app-pda/libsyncml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-pda/libsyncml
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.3 2007/01/08 16:31:52 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.4 2007/02/12 20:54:36 peper Exp $
+
+*libsyncml-0.4.3 (12 Feb 2007)
+
+ 12 Feb 2007; Piotr Jaroszyński <peper@gentoo.org>
+ +libsyncml-0.4.3.ebuild:
+ Version bump.
08 Jan 2007; Piotr Jaroszyński <peper@gentoo.org>
libsyncml-0.4.2-r1.ebuild:
diff --git a/app-pda/libsyncml/files/digest-libsyncml-0.4.3 b/app-pda/libsyncml/files/digest-libsyncml-0.4.3
new file mode 100644
index 000000000000..deb4abb92c5b
--- /dev/null
+++ b/app-pda/libsyncml/files/digest-libsyncml-0.4.3
@@ -0,0 +1,3 @@
+MD5 2ea3a48b35ef3300d917b3eb4666ab66 libsyncml-0.4.3.tar.gz 514190
+RMD160 f79a80a7a31b2a5244d6e88035b08ee62a3de642 libsyncml-0.4.3.tar.gz 514190
+SHA256 669d7559e46b37c8ef3c5b78186122bd1f951b44d4f65c795857cd96a4aacbc8 libsyncml-0.4.3.tar.gz 514190
diff --git a/app-pda/libsyncml/libsyncml-0.4.3.ebuild b/app-pda/libsyncml/libsyncml-0.4.3.ebuild
new file mode 100644
index 000000000000..ad841dc6171a
--- /dev/null
+++ b/app-pda/libsyncml/libsyncml-0.4.3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/libsyncml-0.4.3.ebuild,v 1.1 2007/02/12 20:54:36 peper Exp $
+
+inherit eutils
+
+DESCRIPTION="Implementation of the SyncML protocol"
+HOMEPAGE="http://libsyncml.opensync.org/"
+SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="bluetooth debug doc http obex"
+#test
+
+RDEPEND=">=dev-libs/glib-2.0
+ >=dev-libs/libwbxml-0.9.2
+ dev-libs/libxml2
+ http? ( >=net-libs/libsoup-2.2.91 )
+ obex? ( >=dev-libs/openobex-1.1 )
+ bluetooth? ( net-wireless/bluez-libs )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+ #test? ( dev-libs/check )
+
+# Some of the tests are broken
+RESTRICT="test"
+
+pkg_setup() {
+ if ! use obex && ! use http; then
+ eerror "${CATEGORY}/${P} without support for obex nor http is unusable."
+ einfo "Please enable \"obex\" or/and \"http\" USE flags."
+ die "Please enable \"obex\" or/and \"http\" USE flags."
+ fi
+
+ if use bluetooth; then
+ if use obex && ! built_with_use dev-libs/openobex bluetooth; then
+ eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\""
+ eerror "and \"obex\" USE flags, but dev-libs/openobex was built without"
+ eerror "the \"bluetooth\" USE flag."
+ einfo "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag."
+ die "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag."
+ elif ! use obex; then
+ eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\""
+ eerror "USE flag, but you didn't enable the \"obex\" flag, which is"
+ eerror "needed for bluetooth support."
+ einfo "Please enable \"obex\" USE flag."
+ die "Please enable \"obex\" USE flag."
+ fi
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable bluetooth) \
+ $(use_enable obex) \
+ $(use_enable http) \
+ $(use_enable debug) \
+ $(use_enable debug tracing) \
+ --disable-unit-tests \
+ || die "econf failed"
+ #$(use_enable test unit-tests) \
+
+ emake || die "emake failed"
+
+ use doc && doxygen Doxyfile
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README
+
+ use doc && dohtml docs/html/*
+}