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

Contents of /app-laptop/omnibook/omnibook-20050217-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Apr 8 15:56:51 2006 UTC (12 years, 6 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove old, add module_param fix
(Portage version: 3077-svn) (Unsigned Manifest commit)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20050217-r1.ebuild,v 1.1 2005/06/12 16:28:33 genstef Exp $
4
5 inherit linux-mod eutils
6
7 MY_P="${PN}-${PV:0:4}-${PV:4:2}-${PV:6:2}"
8
9 DESCRIPTION="Linux kernel module for HP Omnibook support"
10 HOMEPAGE="http://www.sourceforge.net/projects/omke"
11 SRC_URI="mirror://sourceforge/omke/${MY_P}.tar.gz"
12 LICENSE="GPL-2"
13 KEYWORDS="x86 -ppc"
14 IUSE=""
15 S="${WORKDIR}/${MY_P}"
16
17 MODULE_NAMES="omnibook(char:)"
18 BUILD_TARGETS=" "
19
20 pkg_setup() {
21 linux-mod_pkg_setup
22 BUILD_PARAMS="KERNEL=${KV_MAJOR}.${KV_MINOR} KSRC=${KV_DIR}"
23 }
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28 epatch ${FILESDIR}/omnibook-fix-obtest-segfault.patch
29 convert_to_m Makefile
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