summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jaroszyński <peper@gentoo.org>2007-11-26 20:18:45 +0000
committerPiotr Jaroszyński <peper@gentoo.org>2007-11-26 20:18:45 +0000
commit83b77a9f229c774c6d6405d0333edfe67ffefadc (patch)
treeb04d9114b3e31c6ec30398e1e1741ba70d92b0d8 /app-pda/libopensync-plugin-irmc
parentAdd live svn ebuild. (diff)
downloadgentoo-2-83b77a9f229c774c6d6405d0333edfe67ffefadc.tar.gz
gentoo-2-83b77a9f229c774c6d6405d0333edfe67ffefadc.tar.bz2
gentoo-2-83b77a9f229c774c6d6405d0333edfe67ffefadc.zip
Add live svn ebuild.
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'app-pda/libopensync-plugin-irmc')
-rw-r--r--app-pda/libopensync-plugin-irmc/ChangeLog8
-rw-r--r--app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-99990
-rw-r--r--app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-9999.ebuild54
3 files changed, 61 insertions, 1 deletions
diff --git a/app-pda/libopensync-plugin-irmc/ChangeLog b/app-pda/libopensync-plugin-irmc/ChangeLog
index 0687b5f4629d..49b8f7c1854a 100644
--- a/app-pda/libopensync-plugin-irmc/ChangeLog
+++ b/app-pda/libopensync-plugin-irmc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-pda/libopensync-plugin-irmc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-irmc/ChangeLog,v 1.5 2007/03/28 20:19:36 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-irmc/ChangeLog,v 1.6 2007/11/26 20:18:45 peper Exp $
+
+*libopensync-plugin-irmc-9999 (26 Nov 2007)
+
+ 26 Nov 2007; Piotr Jaroszyński <peper@gentoo.org>
+ +libopensync-plugin-irmc-9999.ebuild:
+ Add live svn ebuild.
*libopensync-plugin-irmc-0.22 (28 Mar 2007)
diff --git a/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-9999 b/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-9999
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-9999
diff --git a/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-9999.ebuild b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-9999.ebuild
new file mode 100644
index 000000000000..affeaa33d7c6
--- /dev/null
+++ b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-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-plugin-irmc/libopensync-plugin-irmc-9999.ebuild,v 1.1 2007/11/26 20:18:45 peper Exp $
+
+inherit eutils cmake-utils subversion
+
+DESCRIPTION="OpenSync IrMC plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/plugins/irmc-sync"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="bluetooth irda"
+
+DEPEND="=app-pda/libopensync-${PV}*
+ >=dev-libs/openobex-1.0
+ bluetooth? ( net-wireless/bluez-libs )"
+
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if ! use irda && ! use bluetooth; then
+ eerror "${CATEGORY}/${P} without support for bluetooth nor irda is unusable."
+ eerror "Please enable \"bluetooth\" or/and \"irda\" USE flags."
+ die "Please enable \"bluetoot\" or/and \"irda\" USE flags."
+ fi
+
+ if use bluetooth && ! built_with_use dev-libs/openobex bluetooth; then
+ eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\""
+ eerror "USE flag, but dev-libs/openobex was built without"
+ eerror "the \"bluetooth\" USE flag."
+ eerror "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag."
+ die "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag."
+ fi
+
+ if use irda && ! built_with_use dev-libs/openobex irda; then
+ eerror "You are trying to build ${CATEGORY}/${P} with the \"irda\""
+ eerror "USE flag, but dev-libs/openobex was built without"
+ eerror "the \"irda\" USE flag."
+ eerror "Please rebuild dev-libs/openobex with \"irda\" USE flag."
+ die "Please rebuild dev-libs/openobex with \"irda\" USE flag."
+ fi
+}
+
+src_compile() {
+ local mycmakeargs="
+ $(cmake-utils_use_enable bluetooth BLUETOOTH)
+ $(cmake-utils_use_enable irda IRDA)"
+
+ cmake-utils_src_compile
+}