| 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.5.5.1-r1.ebuild,v 1.2 2005/12/21 09:41:19 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.5.1-r1.ebuild,v 1.3 2005/12/24 22:15:27 genstef Exp $ |
| 4 | |
4 | |
| 5 | inherit eutils linux-info debug |
5 | inherit eutils linux-info debug |
| 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" |
| … | |
… | |
| 46 | linux-info_pkg_setup |
46 | linux-info_pkg_setup |
| 47 | |
47 | |
| 48 | kernel_is ge 2 6 13 \ |
48 | kernel_is ge 2 6 13 \ |
| 49 | || die "You need a 2.6.13 or newer kernel to run this package" |
49 | || die "You need a 2.6.13 or newer kernel to run this package" |
| 50 | |
50 | |
| 51 | if [ kernel_is le 2 6 15 ]; then |
51 | if kernel_is le 2 6 15; then |
| 52 | linux_chkconfig_present KOBJECT_UEVENT || notify_uevent |
52 | linux_chkconfig_present KOBJECT_UEVENT || notify_uevent |
| 53 | fi |
53 | fi |
| 54 | |
54 | |
| 55 | if use acpi ; then |
55 | if use acpi ; then |
| 56 | linux_chkconfig_present PROC_FS \ |
56 | linux_chkconfig_present PROC_FS \ |