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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jun 17 13:27:42 2011 UTC (9 years ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Revision bump to migrate intiscripts from bashisms. Punt older overshadowed stuff.

(Portage version: 2.2.0_alpha38/cvs/Linux x86_64)

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.20.ebuild,v 1.2 2006/06/26 22:05:05 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 15; then
23 eerror
24 eerror "${P} requires Linux kernel 2.6.15 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