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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jul 19 13:19:24 2006 UTC (13 years, 11 months ago) by uberlord
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Punt old versions, change maintainer
(Portage version: 2.1.1_pre3-r1)
 (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/tp_smapi/tp_smapi-0.17.ebuild,v 1.2 2006/03/15 23:26:20 brix Exp $
4
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