blob: 0ddd22c5506dfcb212b090b3e8784928a465160a (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsensormon/wmsensormon-1.2.1.ebuild,v 1.7 2007/07/22 04:33:49 dberkholz Exp $
IUSE=""
S=${WORKDIR}/${P/_/-}/${PN}
DESCRIPTION="WindowMaker DockApp: Monitors sensors using lm_sensors"
SRC_URI="mirror://sourceforge/wmsensormon/${P/_/-}.tar.gz"
HOMEPAGE="http://wmsensormon.sourceforge.net"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 amd64"
RDEPEND="x11-libs/libX11
x11-libs/libXext
x11-libs/libXpm"
DEPEND="${RDEPEND}
x11-proto/xextproto
>=sys-apps/lm_sensors-2.8.7"
src_compile() {
cd ${S}
mv Makefile Makefile.orig
sed 's/^CFLAGS/#CFLAGS/' Makefile.orig > Makefile
rm Makefile.orig
emake || die
}
src_install () {
cd ${S}
dobin wmsensormon
#unbzip manpage - Will be updated in 1.2 release
doman wmsensormon.1
cd ..
dodoc CHANGELOG README TODO
}
|