/[gentoo-x86]/app-laptop/omnibook/omnibook-20060126.ebuild
Gentoo

Contents of /app-laptop/omnibook/omnibook-20060126.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Nov 27 15:38:05 2006 UTC (11 years, 7 months ago) by s4t4n
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Stable for x86, see bug #156396. Wiped out previous releases.
(Portage version: 2.1.1-r2)
 (Unsigned Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20060126.ebuild,v 1.3 2006/08/23 07:19:19 s4t4n Exp $
4
5 inherit linux-mod eutils
6
7
8 DESCRIPTION="Linux kernel module for (but not limited to) HP Omnibook support"
9 HOMEPAGE="http://www.sourceforge.net/projects/omke"
10 SRC_URI="mirror://sourceforge/omke/${P}.tar.gz"
11 LICENSE="GPL-2"
12 KEYWORDS="x86 -ppc"
13 IUSE=""
14
15 MODULE_NAMES="omnibook(char:)"
16 BUILD_TARGETS=" "
17
18 pkg_setup() {
19 linux-mod_pkg_setup
20 BUILD_PARAMS="KERNEL=${KV_MAJOR}.${KV_MINOR} KSRC=${KV_DIR}"
21 }
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}
26 epatch ${FILESDIR}/omnibook-fix-obtest-segfault.patch
27 epatch ${FILESDIR}/remove-legacy-isa-fromio.patch
28 convert_to_m Makefile
29 sed -i 's:MODULE_PARM(\([^,]*\), "i");:module_param(\1, int, 0);:' init.c
30 }
31
32 src_compile() {
33 cd misc/obtest
34 emake || die "make obtest failed"
35
36 linux-mod_src_compile
37 }
38
39 src_install() {
40 dosbin misc/obtest/obtest
41 dodoc doc/*
42 docinto misc
43 dodoc misc/*.patch misc/*.txt
44 docinto hotkeys
45 dodoc misc/hotkeys/*
46
47 linux-mod_src_install
48 }

  ViewVC Help
Powered by ViewVC 1.1.20