/[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.8 Revision 1.9
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.8 2005/04/09 12:59:48 corsair Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.4.5-r2.ebuild,v 1.9 2005/04/24 10:27:20 dsd 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"
32 32
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 linux-info_pkg_setup
38 kernel_is ge 2 6 10 && break 38 kernel_is ge 2 6 10 \
39 else
40 RKV=$(uname -r)
41 RKV=${RKV//-*}
42 if version_is_at_least "2.6.10" ${RKV}; then
43 break
44 fi
45 fi
46 die "You need a 2.6.10 or newer kernel to build this pack" 39 || die "You need a 2.6.10 or newer kernel to build this package"
47 40
48} 41}
49 42
50src_unpack() { 43src_unpack() {
51 44

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

  ViewVC Help
Powered by ViewVC 1.1.20