/[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.15 Revision 1.16
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.15 2007/04/11 15:19:58 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.9.ebuild,v 1.16 2007/04/11 16:12:42 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"
73 ewarn 73 ewarn
74 ebeep 5 74 ebeep 5
75} 75}
76 76
77pkg_setup() { 77pkg_setup() {
78 if use kernel_linux; then
78 kernel_is ge 2 6 17 || ewarn "HAL requires a kernel version 2.6.17 or newer" 79 kernel_is ge 2 6 17 || ewarn "HAL requires a kernel version 2.6.17 or newer"
79 80
80 if ! ( linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET ) 81 if ! ( linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET )
81 then 82 then
82 notify_uevent 83 notify_uevent
83 fi 84 fi
84 85
85 linux_chkconfig_present INOTIFY_USER || notify_inotify 86 linux_chkconfig_present INOTIFY_USER || notify_inotify
86 87
87 if use acpi ; then 88 if use acpi ; then
88 linux_chkconfig_present PROC_FS || notify_procfs 89 linux_chkconfig_present PROC_FS || notify_procfs
90 fi
89 fi 91 fi
90 92
91 if [[ -d ${ROOT}/etc/hal/device.d ]]; then 93 if [[ -d ${ROOT}/etc/hal/device.d ]]; then
92 eerror "HAL 0.5.x will not run with the HAL 0.4.x series of" 94 eerror "HAL 0.5.x will not run with the HAL 0.4.x series of"
93 eerror "/etc/hal/device.d/ so please remove this directory" 95 eerror "/etc/hal/device.d/ so please remove this directory"

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20