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

Contents of /app-laptop/acerhk/acerhk-0.5.22-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Nov 30 10:05:38 2005 UTC (8 years, 4 months ago) by chriswhite
Changes since 1.1: +3 -3 lines
*** empty log message ***

1 sekretarz 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 chriswhite 1.1.1.1 # $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.22-r1.ebuild,v 1.3 2005/07/09 16:08:19 swegener Exp $
4 sekretarz 1.1
5     inherit linux-mod eutils
6    
7     DESCRIPTION="Hotkey driver for some Acer and Acer-like laptops"
8     HOMEPAGE="http://www.informatik.hu-berlin.de/~tauber/acerhk/"
9     SRC_URI="http://www.informatik.hu-berlin.de/~tauber/acerhk/archives/acerhk-${PV}.tar.bz2"
10    
11     LICENSE="GPL-2"
12 chriswhite 1.1.1.1 KEYWORDS="~x86 -ppc"
13 sekretarz 1.1 IUSE=""
14    
15     MODULE_NAMES="acerhk(extra:)"
16     BUILD_TARGETS="all"
17    
18     pkg_setup() {
19     linux-mod_pkg_setup
20     BUILD_PARAMS="KERNELSRC=${KV_DIR}
21     KERNELVERSION=${KV_FULL}"
22     }
23    
24     src_unpack() {
25     unpack ${A}
26     cd ${WORKDIR}
27    
28     epatch ${FILESDIR}/${P}-redef-wireless.patch
29     }
30    
31     src_install() {
32     linux-mod_src_install
33     dodoc README COPYING NEWS doc/*
34     }
35    
36     pkg_postinst() {
37     linux-mod_pkg_postinst
38    
39     einfo "You can load the module:"
40     einfo "% modprobe acerhk poll=1"
41     einfo "If you need poll=1 you can set it permanently in /etc/modules.d/acerhk"
42     echo
43     einfo "If you need more info about this driver you can read the README file"
44 chriswhite 1.1.1.1 einfo "% zmore /usr/share/doc/${PF}/README.gz"
45 sekretarz 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20