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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (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.5: +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-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.4.ebuild,v 1.5 2010/01/01 20:55:36 ssuominen 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.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 x86"
14 IUSE=""
15
16 MODULE_NAMES="acer_acpi(extra:)"
17 BUILD_TARGETS="all"
18
19 pkg_setup() {
20 linux-mod_pkg_setup
21 BUILD_PARAMS="KERNELSRC=${KV_DIR} KERNELVERSION=${KV_FULL}"
22 }
23
24 src_install() {
25 linux-mod_src_install
26 dodoc README NEWS AUTHORS
27 }
28
29 pkg_postinst() {
30 linux-mod_pkg_postinst
31
32 elog "You can load the module:"
33 elog "% modprobe acer_acpi"
34 elog
35 ewarn "From Version 0.3 on it is sufficient to load acer_acpi ONCE in your"
36 ewarn "/etc/modules.autoload.d/kernel-2.${KV_MINOR} file!"
37 ewarn "If you upgraded from version 0.1 or 0.2, than please delete on of the lines from that file!"
38 elog
39 elog "If you need more info about this driver you can read the README file"
40 elog "% zmore /usr/share/doc/${PF}/README.bz2"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20