delete old package

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2160 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-05-09 06:54:13 +00:00
parent c6d9c58995
commit cea85aca22
7 changed files with 43 additions and 160 deletions

View File

@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Copyright 1999-2009 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.36.ebuild,v 1.1 2008/01/27 17:47:38 peper Exp $
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.36.ebuild,v 1.4 2009/09/19 16:26:56 betelgeuse Exp $
EAPI="2"
inherit eutils cmake-utils
@@ -11,11 +13,11 @@ SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE="bluetooth irda"
IUSE="+bluetooth irda"
DEPEND=">=app-pda/libopensync-${PV}
>=dev-libs/openobex-1.0
bluetooth? ( net-wireless/bluez-libs )"
>=dev-libs/openobex-1.0[bluetooth?,irda?]
bluetooth? ( || ( net-wireless/bluez net-wireless/bluez-libs ) )"
RDEPEND="${DEPEND}"
@@ -23,30 +25,14 @@ 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."
die "Please enable \"bluetooth\" or/and \"irda\" USE flags."
fi
}
src_compile() {
src_configure() {
local mycmakeargs="
$(cmake-utils_use_enable bluetooth BLUETOOTH)
$(cmake-utils_use_enable irda IRDA)"
cmake-utils_src_compile
cmake-utils_src_configure
}