blob: f5293ff12bd626f0317f5f562a643c8cc328d4db (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/wcalc/wcalc-1.7.ebuild,v 1.2 2004/06/24 22:21:14 agriffis Exp $
DESCRIPTION="A flexible command-line scientific calculator"
HOMEPAGE="http://w-calc.sourceforge.net"
SRC_URI="mirror://sourceforge//w-calc/Wcalc-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
# The argument "--without-readline" is accepted by the configure script but
# breaks the build, so the readline USE flag cannot be used.
IUSE=""
DEPEND=">=sys-libs/readline-4.3-r4"
S=${WORKDIR}/Wcalc-${PV}
src_compile() {
econf || die "Configuration failed."
emake || die "Compilation failed."
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog COPYING COPYRIGHT NEWS
insinto /usr/share/doc/${PF}
doins ReadMe.rtf
# Wcalc icons
insinto /usr/share/pixmaps
newins w.png wcalc.png
newins Wred.png wcalc-red.png
}
|