blob: 717bc4902bc6f90b83dd6310d595373818a21465 (
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
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalc/wmcalc-0.4.ebuild,v 1.9 2006/01/24 22:32:04 nelchael Exp $
inherit eutils
DESCRIPTION="A WindowMaker DockApp calculator"
HOMEPAGE="http://dockapps.org/file.php/id/130"
SRC_URI="mirror://gentoo/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 amd64 ppc ppc64 ~sparc"
RDEPEND="|| ( (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXpm )
virtual/x11 )"
DEPEND="${RDEPEND}
|| ( (
x11-proto/xproto
x11-proto/xextproto )
virtual/x11 )"
IUSE=""
src_unpack()
{
unpack ${A}
cd ${S}
epatch ${FILESDIR}/wmcalc-0.4-Makefile.patch
}
src_compile()
{
emake || die
}
src_install ()
{
dobin wmcalc
dodoc README
newman ${FILESDIR}/wmcalc.man wmcalc.1
insinto /etc
newins .wmcalc wmcalc.conf
insinto /etc/skel
doins .wmcalc
}
|