summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jaroszyński <peper@gentoo.org>2007-03-28 20:24:55 +0000
committerPiotr Jaroszyński <peper@gentoo.org>2007-03-28 20:24:55 +0000
commit3cd7dc07a797678319b924cd9a55fbcee6871be2 (patch)
tree39ad3fe10179299f66f7e85faf1a82a304c18a6f /app-pda/libopensync-plugin-syncml
parentReadd ~ia64 keyword wrt bug 170491 (diff)
downloadhistorical-3cd7dc07a797678319b924cd9a55fbcee6871be2.tar.gz
historical-3cd7dc07a797678319b924cd9a55fbcee6871be2.tar.bz2
historical-3cd7dc07a797678319b924cd9a55fbcee6871be2.zip
Version bump.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'app-pda/libopensync-plugin-syncml')
-rw-r--r--app-pda/libopensync-plugin-syncml/ChangeLog9
-rw-r--r--app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-0.203
-rw-r--r--app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-0.223
-rw-r--r--app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.20.ebuild21
-rw-r--r--app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild56
5 files changed, 67 insertions, 25 deletions
diff --git a/app-pda/libopensync-plugin-syncml/ChangeLog b/app-pda/libopensync-plugin-syncml/ChangeLog
index f4c59517c2ec..76061f028e40 100644
--- a/app-pda/libopensync-plugin-syncml/ChangeLog
+++ b/app-pda/libopensync-plugin-syncml/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-pda/libopensync-plugin-syncml
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/ChangeLog,v 1.4 2007/03/04 07:24:25 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/ChangeLog,v 1.5 2007/03/28 20:24:27 peper Exp $
+
+*libopensync-plugin-syncml-0.22 (28 Mar 2007)
+
+ 28 Mar 2007; Piotr Jaroszyński <peper@gentoo.org>
+ -libopensync-plugin-syncml-0.20.ebuild,
+ +libopensync-plugin-syncml-0.22.ebuild:
+ Version bump.
04 Mar 2007; Marius Mauch <genone@gentoo.org>
libopensync-plugin-syncml-0.21.ebuild:
diff --git a/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-0.20 b/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-0.20
deleted file mode 100644
index 03cc7df1ac71..000000000000
--- a/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-0.20
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 dbe5bb32120f6cc1bbd23a16a45029fa libopensync-plugin-syncml-0.20.tar.gz 321561
-RMD160 081e2a043fbac8392dc65c6abe13f1cb70b8ab47 libopensync-plugin-syncml-0.20.tar.gz 321561
-SHA256 0db8486f682045e9021eade1c40b27e643e973042babc4dc7f0fd99653e54fc8 libopensync-plugin-syncml-0.20.tar.gz 321561
diff --git a/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-0.22 b/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-0.22
new file mode 100644
index 000000000000..1d9c21f52da0
--- /dev/null
+++ b/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-0.22
@@ -0,0 +1,3 @@
+MD5 8ffa3233ad28fb3ead324d88573f0c38 libopensync-plugin-syncml-0.22.tar.bz2 220011
+RMD160 a47a7670389910061d41727aebc161f625d77712 libopensync-plugin-syncml-0.22.tar.bz2 220011
+SHA256 b3f9ec536eabe81831bdb067bee4a052c2852fc84f8e3052416fecbefe3253de libopensync-plugin-syncml-0.22.tar.bz2 220011
diff --git a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.20.ebuild b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.20.ebuild
deleted file mode 100644
index cd06d3467c40..000000000000
--- a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.20.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.20.ebuild,v 1.1 2006/11/13 22:13:00 peper Exp $
-
-DESCRIPTION="OpenSync SyncML Plugin"
-HOMEPAGE="http://www.opensync.org/"
-SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="LGPL-2.1"
-IUSE=""
-
-DEPEND="=app-pda/libopensync-${PV}*
- >=app-pda/libsyncml-0.4.0"
-RDEPEND="${DEPEND}"
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog
-}
diff --git a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild
new file mode 100644
index 000000000000..693c2d37a250
--- /dev/null
+++ b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild,v 1.1 2007/03/28 20:24:27 peper Exp $
+
+inherit eutils
+
+DESCRIPTION="OpenSync SyncML Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="http obex"
+
+DEPEND="=app-pda/libopensync-${PV}*
+ >=app-pda/libsyncml-0.4.3"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if ! use obex && ! use http; then
+ eerror "${CATEGORY}/${P} without support for obex nor http is unusable."
+ eerror "Please enable \"obex\" or/and \"http\" USE flags."
+ die "Please enable \"obex\" or/and \"http\" USE flags."
+ fi
+
+ if use obex && ! built_with_use app-pda/libsyncml obex; then
+ eerror "You are trying to build ${CATEGORY}/${P} with the \"obex\""
+ eerror "USE flags, but app-pda/libsyncml was built without"
+ eerror "the \"obex\" USE flag."
+ eerror "Please rebuild app-pda/libsyncml with \"obex\" USE flag."
+ die "Please rebuild app-pda/libsyncml with \"obex\" USE flag."
+ fi
+
+ if use http && ! built_with_use app-pda/libsyncml http; then
+ eerror "You are trying to build ${CATEGORY}/${P} with the \"http\""
+ eerror "USE flags, but app-pda/libsyncml was built without"
+ eerror "the \"http\" USE flag."
+ eerror "Please rebuild app-pda/libsyncml with \"http\" USE flag."
+ die "Please rebuild app-pda/libsyncml with \"http\" USE flag."
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable http) \
+ $(use_enable obex) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog
+}