/[gentoo-x86]/app-laptop/tp_smapi/tp_smapi-0.16.ebuild
Gentoo

Contents of /app-laptop/tp_smapi/tp_smapi-0.16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Mar 19 14:57:11 2006 UTC (14 years, 4 months ago) by brix
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Pruned old ebuilds.
(Portage version: 2.0.54)

1 brix 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 brix 1.2 # $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.16.ebuild,v 1.1 2006/01/15 13:43:35 brix Exp $
4 brix 1.1
5     inherit linux-mod
6    
7     DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
8     HOMEPAGE="http://tpctl.sourceforge.net/"
9     SRC_URI="mirror://sourceforge/tpctl/${P}.tgz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~x86"
14    
15     IUSE="hdaps"
16    
17     BUILD_TARGETS="default"
18    
19     pkg_setup() {
20     linux-mod_pkg_setup
21    
22     if kernel_is lt 2 6 13; then
23     eerror
24     eerror "${P} requires Linux kernel 2.6.13 or above."
25     eerror
26     die "Unsupported kernel version"
27     fi
28    
29     MODULE_NAMES="tp_base(extra:) tp_smapi(extra:)"
30     BUILD_PARAMS="KSRC=${KV_DIR}"
31    
32     if use hdaps; then
33     MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
34     BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
35     fi
36     }
37    
38     src_install() {
39     linux-mod_src_install
40    
41     dodoc CHANGES README
42     }

  ViewVC Help
Powered by ViewVC 1.1.20