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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Sat Jul 9 16:08:19 2005 UTC (9 years, 5 months ago) by swegener
Branch: MAIN
Changes since 1.7: +2 -2 lines
QA: Use ${PF}
(Portage version: 2.0.51.22-r1)

1 eradicator 1.2 # Copyright 1999-2005 Gentoo Foundation
2 sekretarz 1.1 # Distributed under the terms of the GNU General Public License v2
3 swegener 1.8 # $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild,v 1.7 2005/04/21 07:10:52 wormo Exp $
4 sekretarz 1.1
5 genstef 1.3 inherit linux-mod eutils
6 sekretarz 1.1
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 wormo 1.7 KEYWORDS="~x86 -ppc"
13 genstef 1.3 IUSE=""
14 sekretarz 1.1
15 genstef 1.3 MODULE_NAMES="acerhk(extra:)"
16     BUILD_PARAMS="KERNELSRC=${KV_DIR} KERNELVERSION=${KV_FULL}"
17     BUILD_TARGETS="all"
18 sekretarz 1.1
19     src_unpack() {
20     unpack ${A}
21     cd ${WORKDIR}
22 sekretarz 1.6 epatch ${FILESDIR}/${P}-redef-wireless.patch
23 sekretarz 1.1
24     }
25    
26     src_install() {
27 genstef 1.3 linux-mod_src_install
28 sekretarz 1.1 dodoc README COPYING NEWS doc/*
29     }
30 genstef 1.4
31     pkg_postinst() {
32     linux-mod_pkg_postinst
33    
34     einfo "You can load the module:"
35     einfo "% modprobe acerhk poll=1"
36     einfo "If you need poll=1 you can set it permanently in /etc/modules.d/acerhk"
37     echo
38     einfo "If you need more info about this driver you can read the README file"
39 swegener 1.8 einfo "% zmore /usr/share/doc/${PF}/README.gz"
40 genstef 1.4 }

  ViewVC Help
Powered by ViewVC 1.1.20