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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Apr 8 15:56:51 2006 UTC (12 years, 8 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 s4t4n 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 genstef 1.2 # $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20050217-r3.ebuild,v 1.1 2005/09/02 14:13:13 s4t4n Exp $
4 s4t4n 1.1
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 (but not limited to) 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     epatch ${FILESDIR}/omnibook-toshiba-m30x.patch
30     convert_to_m Makefile
31     }
32    
33     src_compile() {
34     cd misc/obtest
35     emake || die "make obtest failed"
36    
37     linux-mod_src_compile
38     }
39    
40     src_install() {
41     dosbin misc/obtest/obtest
42     dodoc doc/*
43     docinto misc
44     dodoc misc/*.patch misc/*.txt
45     docinto hotkeys
46     dodoc misc/hotkeys/*
47    
48     linux-mod_src_install
49     }

  ViewVC Help
Powered by ViewVC 1.1.20