| 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.1-r1.ebuild,v 1.3 2007/08/01 13:51:20 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.9.1-r1.ebuild,v 1.4 2007/08/06 12:28:43 vapier Exp $ |
| 4 | |
4 | |
| 5 | inherit eutils linux-info autotools flag-o-matic |
5 | inherit eutils linux-info autotools flag-o-matic |
| 6 | |
6 | |
| 7 | DESCRIPTION="Hardware Abstraction Layer" |
7 | DESCRIPTION="Hardware Abstraction Layer" |
| 8 | HOMEPAGE="http://www.freedesktop.org/Software/hal" |
8 | HOMEPAGE="http://www.freedesktop.org/Software/hal" |
| … | |
… | |
| 78 | ewarn |
78 | ewarn |
| 79 | ebeep 5 |
79 | ebeep 5 |
| 80 | } |
80 | } |
| 81 | |
81 | |
| 82 | pkg_setup() { |
82 | pkg_setup() { |
|
|
83 | if ! built_with_use --missing false sys-apps/pciutils hal ; then |
| 83 | if built_with_use --missing false sys-apps/pciutils zlib ; then |
84 | if built_with_use --missing false sys-apps/pciutils zlib ; then |
| 84 | eerror "You MUST build sys-apps/pciutils without the zlib USE flag" |
85 | eerror "You MUST build sys-apps/pciutils without the zlib USE flag" |
| 85 | die "You MUST build sys-apps/pciutils without the zlib USE flag" |
86 | die "You MUST build sys-apps/pciutils without the zlib USE flag" |
|
|
87 | fi |
| 86 | fi |
88 | fi |
| 87 | |
89 | |
| 88 | if use kernel_linux; then |
90 | if use kernel_linux; then |
| 89 | kernel_is ge 2 6 17 || ewarn "HAL requires a kernel version 2.6.17 or newer" |
91 | kernel_is ge 2 6 17 || ewarn "HAL requires a kernel version 2.6.17 or newer" |
| 90 | |
92 | |