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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 27 11:27:17 2010 UTC (10 years, 2 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
prevent building on >=2.6.25 (#274744, #272494, #272494)
(Portage version: 2.2_rc67/cvs/Linux i686)

1 # Copyright 1999-2008 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.10.ebuild,v 1.2 2008/01/30 23:44:16 jurek 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 }
25
26 src_install() {
27 linux-mod_src_install
28 dodoc README NEWS AUTHORS
29 }
30
31 pkg_postinst() {
32 linux-mod_pkg_postinst
33
34 elog "You can load the module:"
35 elog "% modprobe acer_acpi"
36 elog
37 ewarn "From Version 0.3 on it is sufficient to load acer_acpi ONCE in your"
38 ewarn "/etc/modules.autoload.d/kernel-2.${KV_MINOR} file!"
39 ewarn "If you upgraded from version 0.1 or 0.2, than please delete on of the lines from that file!"
40 elog
41 elog "If you need more info about this driver you can read the README file"
42 elog "% zmore /usr/share/doc/${PF}/README.bz2"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20