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

Diff of /sys-apps/hal/hal-0.5.7-r3.ebuild

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

Revision 1.10 Revision 1.11
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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.7-r3.ebuild,v 1.10 2006/08/29 04:20:49 tsunam Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.7-r3.ebuild,v 1.11 2006/10/16 17:48:16 genstef Exp $
4 4
5inherit eutils linux-info debug 5inherit eutils linux-info debug
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 eerror 62 eerror
63 ebeep 5 63 ebeep 5
64} 64}
65 65
66pkg_setup() { 66pkg_setup() {
67 linux-info_pkg_setup 67 get_version || eerror "Unable to calculate Linux Kernel version"
68 68
69 kernel_is ge 2 6 15 || die "HAL requires a kernel version 2.6.15 or newer" 69 kernel_is ge 2 6 15 || eerror "HAL requires a kernel version 2.6.15 or newer"
70 70
71 if kernel_is lt 2 6 16 ; then 71 if kernel_is lt 2 6 16 ; then
72 linux_chkconfig_present KOBJECT_UEVENT || notify_uevent 72 linux_chkconfig_present KOBJECT_UEVENT || notify_uevent
73 else 73 else
74 (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \ 74 (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \

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

  ViewVC Help
Powered by ViewVC 1.1.20