/[gentoo-x86]/app-laptop/acer_acpi/acer_acpi-0.11.2.ebuild
Gentoo

Contents of /app-laptop/acer_acpi/acer_acpi-0.11.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Dec 18 17:23:51 2010 UTC (9 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
punt acerhk and acer_acpi

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/acer_acpi/acer_acpi-0.11.2.ebuild,v 1.2 2010/05/27 11:27:17 bangert Exp $
4
5 inherit linux-mod
6
7 DESCRIPTION="A kernel module to allow hardware control on newer Acer laptops"
8 HOMEPAGE="http://code.google.com/p/aceracpi"
9 SRC_URI="http://aceracpi.googlecode.com/files/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE=""
15
16 MODULE_NAMES="wmi-acer(extra:) acer_acpi(extra:)"
17 BUILD_TARGETS="all"
18
19 CONFIG_CHECK="LEDS_CLASS BACKLIGHT_LCD_SUPPORT"
20
21 pkg_setup() {
22 linux-mod_pkg_setup
23 BUILD_PARAMS="KERNELSRC=${KV_DIR} KERNELVERSION=${KV_FULL}"
24 if kernel_is gt 2 6 25; then
25 die "This driver is already included in >=linux-2.6.25. Its called ACER_WMI."
26 fi
27 }
28
29 src_install() {
30 linux-mod_src_install
31 dodoc README NEWS AUTHORS
32 }
33
34 pkg_postinst() {
35 linux-mod_pkg_postinst
36
37 elog "You can load the module:"
38 elog "% modprobe acer_acpi"
39 elog
40 ewarn "From Version 0.3 on it is sufficient to load acer_acpi ONCE in your"
41 ewarn "/etc/modules.autoload.d/kernel-2.${KV_MINOR} file!"
42 ewarn "If you upgraded from version 0.1 or 0.2, than please delete on of the lines from that file!"
43 elog
44 elog "If you need more info about this driver you can read the README file"
45 elog "% zmore /usr/share/doc/${PF}/README.bz2"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20