diff options
author | Piotr Jaroszyński <peper@gentoo.org> | 2007-11-26 20:25:14 +0000 |
---|---|---|
committer | Piotr Jaroszyński <peper@gentoo.org> | 2007-11-26 20:25:14 +0000 |
commit | 09fc427e917875cc419a67a460ca65e42fd51b0a (patch) | |
tree | 1974a04a65c995aeeab66585192483fa381f71dd /app-pda/libopensync-plugin-syncml | |
parent | Stable on amd64 wrt bug #200348 (diff) | |
download | gentoo-2-09fc427e917875cc419a67a460ca65e42fd51b0a.tar.gz gentoo-2-09fc427e917875cc419a67a460ca65e42fd51b0a.tar.bz2 gentoo-2-09fc427e917875cc419a67a460ca65e42fd51b0a.zip |
Add live svn ebuild.
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'app-pda/libopensync-plugin-syncml')
3 files changed, 59 insertions, 1 deletions
diff --git a/app-pda/libopensync-plugin-syncml/ChangeLog b/app-pda/libopensync-plugin-syncml/ChangeLog index 76061f028e40..4d2ab1af04f2 100644 --- a/app-pda/libopensync-plugin-syncml/ChangeLog +++ b/app-pda/libopensync-plugin-syncml/ChangeLog @@ -1,6 +1,12 @@ # 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.5 2007/03/28 20:24:27 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/ChangeLog,v 1.6 2007/11/26 20:25:13 peper Exp $ + +*libopensync-plugin-syncml-9999 (26 Nov 2007) + + 26 Nov 2007; Piotr Jaroszyński <peper@gentoo.org> + +libopensync-plugin-syncml-9999.ebuild: + Add live svn ebuild. *libopensync-plugin-syncml-0.22 (28 Mar 2007) diff --git a/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-9999 b/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-9999 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-pda/libopensync-plugin-syncml/files/digest-libopensync-plugin-syncml-9999 diff --git a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild new file mode 100644 index 000000000000..6b7b0fd6380f --- /dev/null +++ b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild @@ -0,0 +1,52 @@ +# 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-9999.ebuild,v 1.1 2007/11/26 20:25:13 peper Exp $ + +inherit eutils cmake-utils subversion + +DESCRIPTION="OpenSync SyncML Plugin" +HOMEPAGE="http://www.opensync.org/" +SRC_URI="" + +ESVN_REPO_URI="http://svn.opensync.org/plugins/syncml" + +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() { + local mycmakeargs=" + $(cmake-utils_use_enable http HTTP) + $(cmake-utils_use_enable obex OBEX)" + + cmake-utils_src_compile +} |