/[gentoo-x86]/sys-apps/hal/hal-0.5.9.ebuild
Gentoo

Diff of /sys-apps/hal/hal-0.5.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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.9.ebuild,v 1.9 2007/04/07 00:43:57 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.9.ebuild,v 1.10 2007/04/09 01:08:54 cardoe Exp $
4 4
5inherit eutils linux-info autotools flag-o-matic 5inherit eutils linux-info autotools flag-o-matic
6 6
7DESCRIPTION="Hardware Abstraction Layer" 7DESCRIPTION="Hardware Abstraction Layer"
8HOMEPAGE="http://www.freedesktop.org/Software/hal" 8HOMEPAGE="http://www.freedesktop.org/Software/hal"
62 ewarn "CONFIG_PROC_FS in the config file." 62 ewarn "CONFIG_PROC_FS in the config file."
63 ewarn 63 ewarn
64 ebeep 5 64 ebeep 5
65} 65}
66 66
67function notify_inotify() {
68 ewarn
69 ewarn "You must enable the Inotify filesystem in your kernel."
70 ewarn "For this you need to enable 'Inotify file change notification support'"
71 ewarn "in 'File systems'. It is marked CONFIG_INOTIFY in the config file."
72 ewarn
73 ebeep 5
74}
75
67pkg_setup() { 76pkg_setup() {
68 kernel_is ge 2 6 17 || ewarn "HAL requires a kernel version 2.6.17 or newer" 77 kernel_is ge 2 6 17 || ewarn "HAL requires a kernel version 2.6.17 or newer"
69 78
70 if ! ( linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET ) 79 if ! ( linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET )
71 then 80 then
72 notify_uevent 81 notify_uevent
73 fi 82 fi
83
84 linux_chkconfig_present INOTIFY || notify_inotify
74 85
75 if use acpi ; then 86 if use acpi ; then
76 linux_chkconfig_present PROC_FS || notify_procfs 87 linux_chkconfig_present PROC_FS || notify_procfs
77 fi 88 fi
78 89

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20