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

Diff of /sys-apps/hal/hal-0.4.5-r2.ebuild

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

Revision 1.1 Revision 1.2
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.4.5-r2.ebuild,v 1.1 2005/01/18 22:27:24 foser Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.4.5-r2.ebuild,v 1.2 2005/01/18 22:34:17 foser Exp $
4 4
5inherit eutils python linux-info versionator flag-o-matic 5inherit eutils python linux-info versionator 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"
33# We need to run at least a 2.6.10 kernel, this is a 33# We need to run at least a 2.6.10 kernel, this is a
34# way to ensure that to some extent 34# way to ensure that to some extent
35pkg_setup() { 35pkg_setup() {
36 36
37 if get_version; then 37 if get_version; then
38 kernel_is ge 2.6.10 && break 38 kernel_is ge 2 6 10 && break
39 else 39 else
40 RKV=$(uname -r) 40 RKV=$(uname -r)
41 RKV=${RKV///-*} 41 RKV=${RKV//-*}
42 if version_is_at_least "2.6.10" ${RKV}; then 42 if version_is_at_least "2.6.10" ${RKV}; then
43 break 43 break
44 fi 44 fi
45 fi 45 fi
46 die "You need a 2.6.10 or newer kernel to build this pack" 46 die "You need a 2.6.10 or newer kernel to build this pack"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20