blob: 2e89f4432c50c6f3d619c6fa6a3bd3f572bb4b1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/hal-device-manager/hal-device-manager-0.5-r1.ebuild,v 1.8 2008/01/22 22:03:10 compnerd Exp $
inherit eutils
DESCRIPTION="HAL device viewer"
HOMEPAGE="http://www.freedesktop.org/Software/hal"
SRC_URI=""
LICENSE="|| ( GPL-2 AFL-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
IUSE=""
RDEPEND="|| (
=sys-apps/hal-0.5.7*
=sys-apps/hal-0.5.9*
)
>=dev-python/dbus-python-0.71
>=dev-python/gnome-python-2.0.0-r1"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}
pkg_setup() {
if [ ! -z $(best_version =sys-apps/dbus-0.62*) ]; then
if ! built_with_use "=sys-apps/dbus-0.62*" python; then
eerror 'Please rebuild dbus with the python useflag before installing'
eerror 'this package.'
eerror
eerror "echo 'sys-apps/dbus python' >> /etc/portage/package.use"
eerror 'emerge dbus'
die "dbus python bindings unavailable"
fi
fi
}
src_install() {
dodir /usr/bin
dosym /usr/share/hal/device-manager/hal-device-manager /usr/bin
make_desktop_entry hal-device-manager "Device Manager" "hwbrowser" "System"
}
|