summaryrefslogtreecommitdiff
blob: 9cf13274464a9a028fb0af0ca81aaa8156a98e3d (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-calculators/pcalc/pcalc-1.0.0.ebuild,v 1.1 2005/03/30 05:53:42 vapier Exp $

DESCRIPTION="the programmers calculator"
HOMEPAGE="http://ibiblio.org/pub/Linux/apps/math/calc/pcalc.lsm"
SRC_URI="http://ibiblio.org/pub/Linux/apps/math/calc/pcalc-000.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="sys-devel/flex"
RDEPEND=""

S=${WORKDIR}/${PN}-000

src_unpack() {
	unpack ${A}
	cd "${S}"
	rm -f pcalc
}

src_test() {
	make test || die "make test failed :("
}

src_install() {
	dobin pcalc || die "dobin pcalc"
	dodoc EXAMPLE README
}