/[gentoo-x86]/app-laptop/acerhk/acerhk-0.5.34.ebuild
Gentoo

Contents of /app-laptop/acerhk/acerhk-0.5.34.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sun Jul 1 13:26:32 2007 UTC (7 years ago) by jurek
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
app-laptop/acerhk: cleaned out old version (0.5.34), changed README.gz to README.bz2 (bug #183795)
(Portage version: 2.1.2.9)

1 opfer 1.3 # Copyright 1999-2007 Gentoo Foundation
2 jurek 1.1 # Distributed under the terms of the GNU General Public License v2
3 jurek 1.6 # $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.34.ebuild,v 1.5 2007/02/20 23:36:44 jurek Exp $
4 jurek 1.1
5     inherit linux-mod
6    
7     DESCRIPTION="Hotkey driver for some Acer and Acer-like laptops"
8 jurek 1.5 HOMEPAGE="http://www.cakey.de/acerhk/"
9     SRC_URI="http://www.cakey.de/${PN}/archives/${P}.tar.bz2"
10 jurek 1.1
11     LICENSE="GPL-2"
12 jurek 1.5 KEYWORDS="x86 -ppc"
13 jurek 1.1 IUSE=""
14    
15     MODULE_NAMES="acerhk(extra:)"
16     BUILD_TARGETS="all"
17    
18 jurek 1.2 src_unpack()
19     {
20     unpack ${A}
21     cd ${S}
22    
23     epatch ${FILESDIR}/kernel-2.6.19-config.h.patch || die "epatch failed"
24     }
25    
26 jurek 1.1 pkg_setup() {
27     linux-mod_pkg_setup
28     BUILD_PARAMS="KERNELSRC=${KV_DIR} KERNELVERSION=${KV_FULL}"
29     }
30    
31     src_install() {
32     linux-mod_src_install
33     dodoc README COPYING NEWS
34     docinto doc
35     dodoc doc/*
36     }
37    
38     pkg_postinst() {
39     linux-mod_pkg_postinst
40    
41 genone 1.4 elog "You can load the module:"
42     elog "% modprobe acerhk poll=1"
43     elog "If you need poll=1 you can set it permanently in /etc/modules.d/acerhk"
44     elog
45     elog "If you need more info about this driver you can read the README file"
46     elog "% zmore /usr/share/doc/${PF}/README.gz"
47 jurek 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20