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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Jun 28 15:22:23 2009 UTC (9 years, 2 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Taking maintainership. remove old, bump snapshot
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20070211.ebuild,v 1.5 2007/11/26 16:10:13 s4t4n Exp $
4
5 inherit linux-mod eutils
6
7 MY_PV="2.${PV}"
8 MY_P="${PN}-${MY_PV}"
9 DESCRIPTION="Linux kernel module for (but not limited to) HP Omnibook support"
10 HOMEPAGE="http://www.sourceforge.net/projects/omnibook"
11 SRC_URI="mirror://sourceforge/omnibook/${MY_P}.tar.gz"
12 LICENSE="GPL-2"
13 KEYWORDS="~amd64 -ppc x86"
14 IUSE=""
15 S=${WORKDIR}/${MY_P}
16
17 MODULE_NAMES="omnibook(char:)"
18 BUILD_TARGETS=" "
19
20 pkg_setup() {
21 if ! kernel_is le 2 6 11; then
22 die "This version of omnibook cannot be built on a kernel > 2.6.11!"
23 fi
24
25 linux-mod_pkg_setup
26 BUILD_PARAMS="KERNEL=${KV_MAJOR}.${KV_MINOR} KSRC=${KV_DIR}"
27 }
28
29 src_compile() {
30 linux-mod_src_compile
31 }
32
33 src_install() {
34 dosbin misc/obtest/obtest
35 dodoc doc/*
36 docinto misc
37 dodoc misc/*.patch misc/*.txt
38 docinto hotkeys
39 dodoc misc/hotkeys/*
40
41 linux-mod_src_install
42 }

  ViewVC Help
Powered by ViewVC 1.1.20