| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.4.5-r2.ebuild,v 1.10 2005/05/09 03:04:44 agriffis Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.4.5-r2.ebuild,v 1.11 2005/05/23 20:34:55 dsd Exp $ |
| 4 | |
4 | |
| 5 | inherit eutils python linux-info versionator flag-o-matic |
5 | inherit eutils python linux-info versionator flag-o-matic |
| 6 | |
6 | |
| 7 | DESCRIPTION="Hardware Abstraction Layer" |
7 | DESCRIPTION="Hardware Abstraction Layer" |
| 8 | HOMEPAGE="http://www.freedesktop.org/Software/hal" |
8 | HOMEPAGE="http://www.freedesktop.org/Software/hal" |
| 9 | SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz" |
9 | SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz" |
| 10 | |
10 | |
| 11 | LICENSE="|| ( GPL-2 AFL-2.0 )" |
11 | LICENSE="|| ( GPL-2 AFL-2.0 )" |
| 12 | SLOT="0" |
12 | SLOT="0" |
| 13 | KEYWORDS="amd64 ia64 ppc ppc64 x86" |
13 | KEYWORDS="amd64 ia64 ppc ppc64 x86" |
| 14 | IUSE="debug pcmcia doc" |
14 | IUSE="debug pcmcia doc livecd" |
| 15 | |
15 | |
| 16 | RDEPEND=">=dev-libs/glib-2.4 |
16 | RDEPEND=">=dev-libs/glib-2.4 |
| 17 | >=sys-apps/dbus-0.22-r1 |
17 | >=sys-apps/dbus-0.22-r1 |
| 18 | dev-libs/expat |
18 | dev-libs/expat |
| 19 | sys-fs/udev |
19 | sys-fs/udev |
| … | |
… | |
| 31 | # managed mount patches #70873 |
31 | # managed mount patches #70873 |
| 32 | |
32 | |
| 33 | # We need to run at least a 2.6.10 kernel, this is a |
33 | # We need to run at least a 2.6.10 kernel, this is a |
| 34 | # way to ensure that to some extent |
34 | # way to ensure that to some extent |
| 35 | pkg_setup() { |
35 | pkg_setup() { |
| 36 | |
36 | use livecd && return |
| 37 | linux-info_pkg_setup |
37 | linux-info_pkg_setup |
| 38 | kernel_is ge 2 6 10 \ |
38 | kernel_is ge 2 6 10 \ |
| 39 | || die "You need a 2.6.10 or newer kernel to build this package" |
39 | || die "You need a 2.6.10 or newer kernel to build this package" |
| 40 | |
40 | |
| 41 | } |
41 | } |