blob: 4351970654f267af4820da58a54e5ccee1934aa6 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalc/wmcalc-0.3.ebuild,v 1.3 2003/02/13 17:28:24 vapier Exp $
DESCRIPTION="A WindowMaker DockApp calculator"
#The homepage is not working, but it is what the source lists
HOMEPAGE="http://members.access1.net/ehflora/"
SRC_URI="http://ftp.debian.org/debian/pool/main/w/wmcalc/${PN}_${PV}.orig.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
DEPEND="x11-base/xfree"
S=${WORKDIR}/${P}.orig
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
patch -p1 < ${FILESDIR}/${P}-gentoo.diff || die
}
src_compile() {
emake || die
}
src_install () {
dobin wmcalc
dodoc README COPYING
newman ${FILESDIR}/wmcalc.man wmcalc.1
insinto /etc
newins wmcalc.conf
insinto /etc/skel
newins .wmcalc
}
|