| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 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.11-r8.ebuild,v 1.1 2009/02/04 22:58:27 chainsaw Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.11-r8.ebuild,v 1.2 2009/02/05 10:18:24 chainsaw Exp $ |
| 4 | |
4 | |
| 5 | inherit eutils linux-info autotools flag-o-matic |
5 | inherit eutils linux-info autotools flag-o-matic |
| 6 | |
6 | |
| 7 | PATCH_VERSION="5" |
7 | PATCH_VERSION="5" |
| 8 | |
8 | |
| … | |
… | |
| 164 | fi |
164 | fi |
| 165 | |
165 | |
| 166 | hardware="--with-cpufreq --with-usb-csr --with-keymaps" |
166 | hardware="--with-cpufreq --with-usb-csr --with-keymaps" |
| 167 | use arm && hardware="$hardware --with-omap --enable-pmu" |
167 | use arm && hardware="$hardware --with-omap --enable-pmu" |
| 168 | use ppc && hardware="$hardware --enable-pmu" |
168 | use ppc && hardware="$hardware --enable-pmu" |
|
|
169 | if use x86 || use amd64; then |
| 169 | use laptop && hardware="--with-macbook --with-macbookpro" |
170 | hardware="$hardware --with-macbook --with-macbookpro" |
|
|
171 | fi |
| 170 | |
172 | |
| 171 | if use dell ; then |
173 | if use dell ; then |
| 172 | hardware="$hardware --with-dell-backlight" |
174 | hardware="$hardware --with-dell-backlight" |
| 173 | else |
175 | else |
| 174 | hardware="$hardware --without-dell-backlight" |
176 | hardware="$hardware --without-dell-backlight" |