summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jaroszyński <peper@gentoo.org>2007-02-12 21:08:02 +0000
committerPiotr Jaroszyński <peper@gentoo.org>2007-02-12 21:08:02 +0000
commitccf0457996d2366504248ffcc79fec7241cfcf85 (patch)
tree515b649622cdfd6f990a00c796436ca699cf7185 /app-pda/libopensync-plugin-irmc
parentFix broken patch, was because of $Id: lines at start. (diff)
downloadhistorical-ccf0457996d2366504248ffcc79fec7241cfcf85.tar.gz
historical-ccf0457996d2366504248ffcc79fec7241cfcf85.tar.bz2
historical-ccf0457996d2366504248ffcc79fec7241cfcf85.zip
Version bump.
Package-Manager: portage-2.1.2-r9
Diffstat (limited to 'app-pda/libopensync-plugin-irmc')
-rw-r--r--app-pda/libopensync-plugin-irmc/ChangeLog11
-rw-r--r--app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-0.193
-rw-r--r--app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-0.213
-rw-r--r--app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.19.ebuild23
-rw-r--r--app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.21.ebuild58
5 files changed, 70 insertions, 28 deletions
diff --git a/app-pda/libopensync-plugin-irmc/ChangeLog b/app-pda/libopensync-plugin-irmc/ChangeLog
index 6936fc9fce91..09a74921f8ff 100644
--- a/app-pda/libopensync-plugin-irmc/ChangeLog
+++ b/app-pda/libopensync-plugin-irmc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-pda/libopensync-plugin-irmc
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-irmc/ChangeLog,v 1.2 2006/11/10 18:47:39 peper Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-irmc/ChangeLog,v 1.3 2007/02/12 20:59:31 peper Exp $
+
+*libopensync-plugin-irmc-0.21 (12 Feb 2007)
+
+ 12 Feb 2007; Piotr Jaroszyński <peper@gentoo.org>
+ -libopensync-plugin-irmc-0.19.ebuild,
+ +libopensync-plugin-irmc-0.21.ebuild:
+ Version bump.
*libopensync-plugin-irmc-0.20 (10 Nov 2006)
diff --git a/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-0.19 b/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-0.19
deleted file mode 100644
index 8336790557d3..000000000000
--- a/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-0.19
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 14451c845a69ec8a10815d34a2abcf61 libopensync-plugin-irmc-0.19.tar.gz 353174
-RMD160 40fec9ebc01aa2d38494874ad9fe474140f1bfe1 libopensync-plugin-irmc-0.19.tar.gz 353174
-SHA256 09b7c6361c7e48cf74458903a17b5393e266fc8119ce6a50d08c98eb7987f5c1 libopensync-plugin-irmc-0.19.tar.gz 353174
diff --git a/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-0.21 b/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-0.21
new file mode 100644
index 000000000000..05b64624f558
--- /dev/null
+++ b/app-pda/libopensync-plugin-irmc/files/digest-libopensync-plugin-irmc-0.21
@@ -0,0 +1,3 @@
+MD5 3f6463b99f51882d77ce5e646db3387c libopensync-plugin-irmc-0.21.tar.bz2 256734
+RMD160 6479401fec33582684739bfd1c5fed890e1cbddc libopensync-plugin-irmc-0.21.tar.bz2 256734
+SHA256 516e46dd77da2066d2bb877f8a6ccb78ab2aa507338ed7636d67e0e1457ba665 libopensync-plugin-irmc-0.21.tar.bz2 256734
diff --git a/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.19.ebuild b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.19.ebuild
deleted file mode 100644
index 9e6f41df92be..000000000000
--- a/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.19.ebuild
+++ /dev/null
@@ -1,23 +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-irmc/libopensync-plugin-irmc-0.19.ebuild,v 1.3 2006/11/10 18:47:39 peper Exp $
-
-DESCRIPTION="OpenSync IrMC plugin"
-HOMEPAGE="http://www.opensync.org/"
-SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE=""
-
-DEPEND="=app-pda/libopensync-${PV}*
- >=dev-libs/openobex-1.0
- net-wireless/bluez-libs"
-
-RDEPEND="${DEPEND}"
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog COPYING NEWS README
-}
diff --git a/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.21.ebuild b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.21.ebuild
new file mode 100644
index 000000000000..d2d8425c5068
--- /dev/null
+++ b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.21.ebuild
@@ -0,0 +1,58 @@
+# 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-0.21.ebuild,v 1.1 2007/02/12 20:59:31 peper Exp $
+
+inherit eutils
+
+DESCRIPTION="OpenSync IrMC plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
+
+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."
+ einfo "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."
+ einfo "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."
+ einfo "Please rebuild dev-libs/openobex with \"irda\" USE flag."
+ die "Please rebuild dev-libs/openobex with \"irda\" USE flag."
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable bluetooth) \
+ $(use_enable irda) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog COPYING NEWS README
+}