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

Contents of /app-laptop/tp_smapi/tp_smapi-0.10.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-2005 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.10.ebuild,v 1.1 2005/12/14 09:57:41 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=""
16    
17     BUILD_TARGETS="default"
18     MODULE_NAMES="tp_smapi(extra:)"
19    
20     pkg_setup() {
21     linux-mod_pkg_setup
22    
23     if kernel_is lt 2 6 13; then
24     eerror
25     eerror "${P} requires Linux kernel 2.6.13 or above."
26     eerror
27     die "Unsupported kernel version"
28     fi
29    
30     BUILD_PARAMS="KDIR=${KV_DIR}"
31     }
32    
33     src_install() {
34     linux-mod_src_install
35    
36     dodoc CHANGES README
37     }

  ViewVC Help
Powered by ViewVC 1.1.20