summaryrefslogtreecommitdiff
blob: 5b93c758e7c4b81176b32f0c1c63d420d31d22bc (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-sysinfo/vdr-sysinfo-0.1.0a.ebuild,v 1.2 2006/05/22 21:18:15 hd_brummy Exp $

inherit vdr-plugin eutils

DESCRIPTION="VDR plugin: Shows information over your system (CPU/Memory usage ...)"
HOMEPAGE="http://kikko77.altervista.org/"
SRC_URI="http://kikko77.altervista.org/sections/Download/[12]_sysinfo/${P}.tgz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=">=media-video/vdr-1.3.7"

RDEPEND="sys-apps/lm_sensors"

src_unpack() {
	vdr-plugin_src_unpack

	cd ${S}
	sed -e "s-sysinfo.sh-/usr/share/vdr/sysinfo/sysinfo.sh-" -i sysinfoosd.c
}

src_install() {
	vdr-plugin_src_install
	insinto /usr/share/vdr/sysinfo/
	insopts -m0755
	doins script/sysinfo.sh
}