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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.20