summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-08-14 12:04:15 +0000
committerRoy Marples <uberlord@gentoo.org>2006-08-14 12:04:15 +0000
commit94f01ef9b25e55c1c74887e2c4e041d7c96b9aa6 (patch)
tree81def6d027c8e462a09baa25bdd86fcd14757817 /app-laptop
parentFixed HPPA patching. (diff)
downloadgentoo-2-94f01ef9b25e55c1c74887e2c4e041d7c96b9aa6.tar.gz
gentoo-2-94f01ef9b25e55c1c74887e2c4e041d7c96b9aa6.tar.bz2
gentoo-2-94f01ef9b25e55c1c74887e2c4e041d7c96b9aa6.zip
Version bump, #143821 thanks to Anton Bolshakov.
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/tp_smapi/ChangeLog7
-rw-r--r--app-laptop/tp_smapi/files/digest-tp_smapi-0.273
-rw-r--r--app-laptop/tp_smapi/tp_smapi-0.27.ebuild55
3 files changed, 64 insertions, 1 deletions
diff --git a/app-laptop/tp_smapi/ChangeLog b/app-laptop/tp_smapi/ChangeLog
index 2d6efdef1dbb..56b7f279d65a 100644
--- a/app-laptop/tp_smapi/ChangeLog
+++ b/app-laptop/tp_smapi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-laptop/tp_smapi
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.13 2006/06/26 22:05:05 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.14 2006/08/14 12:04:15 uberlord Exp $
+
+*tp_smapi-0.27 (14 Aug 2006)
+
+ 14 Aug 2006; Roy Marples <uberlord@gentoo.org> +tp_smapi-0.27.ebuild:
+ Version bump, #143821 thanks to Anton Bolshakov.
26 Jun 2006; Henrik Brix Andersen <brix@gentoo.org> tp_smapi-0.20.ebuild:
Stable on x86.
diff --git a/app-laptop/tp_smapi/files/digest-tp_smapi-0.27 b/app-laptop/tp_smapi/files/digest-tp_smapi-0.27
new file mode 100644
index 000000000000..c55fadd1d54b
--- /dev/null
+++ b/app-laptop/tp_smapi/files/digest-tp_smapi-0.27
@@ -0,0 +1,3 @@
+MD5 ca653a14bed809462066aca842776108 tp_smapi-0.27.tgz 36124
+RMD160 15ae9215c91d5ec3aac6110aa47da71bd66cb0d3 tp_smapi-0.27.tgz 36124
+SHA256 a0687e565c3598ca3f343c36ed2df63802965961dbae5ab92202eaee9c8e0369 tp_smapi-0.27.tgz 36124
diff --git a/app-laptop/tp_smapi/tp_smapi-0.27.ebuild b/app-laptop/tp_smapi/tp_smapi-0.27.ebuild
new file mode 100644
index 000000000000..ac992f02d1b0
--- /dev/null
+++ b/app-laptop/tp_smapi/tp_smapi-0.27.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.27.ebuild,v 1.1 2006/08/14 12:04:15 uberlord Exp $
+
+inherit linux-mod
+
+DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
+HOMEPAGE="http://tpctl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tpctl/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="hdaps"
+
+RESTRICT="userpriv"
+
+# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
+# in dmi.h
+DEPEND="sys-apps/dmidecode"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is lt 2 6 15; then
+ eerror
+ eerror "${P} requires Linux kernel 2.6.15 or above."
+ eerror
+ die "Unsupported kernel version"
+ fi
+
+ MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
+ BUILD_PARAMS="KSRC=${KV_DIR}"
+ BUILD_TARGETS="default"
+
+ if use hdaps; then
+ MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
+ BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Ug, sudo in a Makefile
+ sed -i 's,sudo ,,' Makefile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc CHANGES README
+}