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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jan 5 21:35:27 2010 UTC (4 years, 11 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bump
(Portage version: 2.2_rc61/cvs/Linux x86_64)

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.11.9.3.ebuild,v 1.4 2008/01/28 20:01:17 grobian 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=">=sys-apps/less-348"
19
20 src_compile() {
21 make \
22 T="${D}" \
23 DEBUG="${CFLAGS}" \
24 CALCPAGER=less \
25 USE_READLINE="-DUSE_READLINE" \
26 READLINE_LIB="-lreadline -lhistory -lncurses" \
27 all \
28 || die
29 if echo "${LD_PRELOAD}" | grep -q "sandbox"; then
30 ewarn "Can't run check when running in sandbox - see bug #59676"
31 else
32 make chk || die "Check failed"
33 fi
34 }
35
36 src_install() {
37 make T="${D}" install || die
38 dodoc BUGS CHANGES COPYING COPYING-LGPL LIBRARY README
39 }

  ViewVC Help
Powered by ViewVC 1.1.20