/[gentoo-x86]/sci-mathematics/calc/calc-2.12.1.5.ebuild
Gentoo

Contents of /sci-mathematics/calc/calc-2.12.1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jan 28 20:01:17 2008 UTC (6 years, 5 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
Dropped ppc-macos keyword, see you in prefix
(Portage version: 2.1.3.19)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/calc/calc-2.12.1.5.ebuild,v 1.4 2007/10/24 12:50:28 markusle Exp $
4
5 DESCRIPTION="An arbitrary precision C-like arithmetic system"
6 HOMEPAGE="http://www.isthe.com/chongo/tech/comp/calc/"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8
9 SLOT="0"
10 LICENSE="LGPL-2"
11 KEYWORDS="alpha ~amd64 ~ppc x86"
12
13 IUSE=""
14
15 DEPEND=">=sys-libs/ncurses-5.2
16 >=sys-libs/readline-4.2"
17
18 RDEPEND="${DEPEND}
19 >=sys-apps/less-348"
20
21 src_compile() {
22 make \
23 T="${D}" \
24 DEBUG="${CFLAGS}" \
25 CALCPAGER=less \
26 USE_READLINE="-DUSE_READLINE" \
27 READLINE_LIB="-lreadline -lhistory -lncurses" \
28 all \
29 || die
30 if echo "${LD_PRELOAD}" | grep -q "sandbox"; then
31 ewarn "Can't run check when running in sandbox - see bug #59676"
32 else
33 make chk || die "Check failed"
34 fi
35 }
36
37 src_install() {
38 make T="${D}" install || die
39 dodoc BUGS CHANGES LIBRARY README
40 }

  ViewVC Help
Powered by ViewVC 1.1.20