blob: 90da0244060605bcf52d1a7c6701e27f17dec4b3 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmsens/wmmsens-0.29.6.ebuild,v 1.5 2006/02/02 16:30:52 nelchael Exp $
inherit eutils
S="${WORKDIR}/${P/_/-}"
HOMEPAGE="http://www.digressed.net/wmmsens/"
DESCRIPTION="Window Maker dock app for monitoring your motherboard's hardware sensors"
SRC_URI="http://www.digressed.net/wmmsens/src//${P/_/-}.tar.gz"
SLOT="0"
LICENSE="Artistic"
KEYWORDS="x86 ~amd64"
IUSE=""
RDEPEND="|| ( (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXpm )
virtual/x11 )"
DEPEND="${RDEPEND}
|| ( x11-proto/xextproto virtual/x11 )
sys-apps/lm_sensors"
src_compile() {
cd src
# remove depends at end of Makefile that cause problems
mv Makefile Makefile.old
sed -e "/DELETE/q" Makefile.old > Makefile
emake OPTFLAGS="${CXXFLAGS}" || die
}
src_install() {
cd ${S}
dodoc CREDITS ChangeLog README TODO
cd src
mkdir -p ${D}/usr/bin
emake INSTDIR=${D}/usr/bin install || die
}
|