blob: 5efe7627aadb4bd79ef72a265b58c93bbd3acdf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/kthinkbat/kthinkbat-0.2.9.ebuild,v 1.2 2008/06/26 23:13:51 dirtyepic Exp $
EAPI=1
inherit kde
DESCRIPTION="A ThinkPad Battery Viewer Applet"
HOMEPAGE="https://lepetitfou.dyndns.org/KThinkBat"
SRC_URI="http://lepetitfou.dyndns.org/download/kthinkbat/src/kthinkbat-0.2.x/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+smapi"
DEPEND=""
RDEPEND="smapi? ( app-laptop/tp_smapi )"
need-kde 3.3
src_install() {
kde_src_install
dodoc COPYING* Contributors README
}
pkg_postinst() {
elog
elog "KThinkBat can make use of the SMAPI BIOS interface found on most"
elog "ThinkPads. "
elog
elog "If you want to use this feature, make sure you have"
elog "the kernel module tp_smapi (from app-laptop/tp_smapi)"
elog "loaded."
elog
elog "To autoload this kernel module at system startup type"
elog
elog " # echo \"tp_smapi\" >> /etc/modules.autoload.d/kernel-2.6"
elog
buildsycoca
}
|