blob: ad0a7d09d3dc5fdc77ba6757a8c3e76614a7c5ef (
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-2002 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.2 2002/12/02 18:31:21 drobbins 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
}
|