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

Diff of /sys-apps/hal/hal-0.5.7.1-r1.ebuild

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

Revision 1.3 Revision 1.4
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.1-r1.ebuild,v 1.3 2006/09/17 20:48:15 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.7.1-r1.ebuild,v 1.4 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"
63 eerror 63 eerror
64 ebeep 5 64 ebeep 5
65} 65}
66 66
67pkg_setup() { 67pkg_setup() {
68 linux-info_pkg_setup 68 get_version || eerror "Unable to calculate Linux Kernel version"
69 69
70 kernel_is ge 2 6 15 || die "HAL requires a kernel version 2.6.15 or newer" 70 kernel_is ge 2 6 15 || eerror "HAL requires a kernel version 2.6.15 or newer"
71 71
72 if kernel_is lt 2 6 16 ; then 72 if kernel_is lt 2 6 16 ; then
73 linux_chkconfig_present KOBJECT_UEVENT || notify_uevent 73 linux_chkconfig_present KOBJECT_UEVENT || notify_uevent
74 else 74 else
75 (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \ 75 (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20